MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / RegisterService

Method RegisterService

rpc/server.go:140–142  ·  view source on GitHub ↗

RegisterService registers service with a Service name, used by Client RPC.

(name string, service interface{})

Source from the content-addressed store, hash-verified

138
139// RegisterService registers service with a Service name, used by Client RPC.
140func (s *Server) RegisterService(name string, service interface{}) error {
141 return s.rpcServer.RegisterName(name, service)
142}
143
144// Stop Server main loop.
145func (s *Server) Stop() {

Callers 15

TestMultiChainFunction · 0.95
runNodeFunction · 0.95
TestServer_CloseFunction · 0.95
startServiceMethod · 0.80
initNodeFunction · 0.80
NewMuxServiceFunction · 0.80
NewServiceFunction · 0.80
NewMuxServiceFunction · 0.80
setupMuxParallelFunction · 0.80
initNodeChainBusServiceFunction · 0.80
NewDBKayakMuxServiceFunction · 0.80
NewDBMSRPCServiceFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestMultiChainFunction · 0.76
TestServer_CloseFunction · 0.76
initNodeFunction · 0.64
setupMuxParallelFunction · 0.64
initNodeChainBusServiceFunction · 0.64
TestRawCallerFunction · 0.64