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

Struct CliRpcServer

cmd/sigsvr/httpsvr.go:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33var DefCliRpcSvr = NewCliRpcServer()
34
35type CliRpcServer struct {
36 address string
37 port uint
38 handlers map[string]func(req *common.CliRpcRequest, resp *common.CliRpcResponse)
39 httpSvr *http.Server
40 httpSvtMux *http.ServeMux
41}
42
43func NewCliRpcServer() *CliRpcServer {
44 return &CliRpcServer{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected