MCPcopy Create free account
hub / github.com/DNAProject/DNA / NewCliRpcServer

Function NewCliRpcServer

cmd/sigsvr/httpsvr.go:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func NewCliRpcServer() *CliRpcServer {
44 return &CliRpcServer{
45 handlers: make(map[string]func(req *common.CliRpcRequest, resp *common.CliRpcResponse)),
46 }
47}
48
49func (this *CliRpcServer) Start(address string, port uint) {
50 this.address = address

Callers 1

httpsvr.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected