| 33 | var DefCliRpcSvr = NewCliRpcServer() |
| 34 | |
| 35 | type 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 | |
| 43 | func NewCliRpcServer() *CliRpcServer { |
| 44 | return &CliRpcServer{ |
nothing calls this directly
no outgoing calls
no test coverage detected