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

Function NewServer

rpc/mux/wrapper.go:34–38  ·  view source on GitHub ↗

NewServer returns a new Server.

()

Source from the content-addressed store, hash-verified

32
33// NewServer returns a new Server.
34func NewServer() *Server {
35 return &Server{
36 Server: rpc.NewServerWithServeFunc(ServeMux),
37 }
38}
39
40// NewServerWithService returns a new Server and registers the Server.ServiceMap.
41func NewServerWithService(serviceMap ServiceMap) (server *Server, err error) {

Callers 5

createServerFunction · 0.92
createServerFunction · 0.92
NewServerWithServiceFunction · 0.70
TestRawCallerFunction · 0.70
TestServer_CloseFunction · 0.70

Calls 1

NewServerWithServeFuncFunction · 0.92

Tested by 2

TestRawCallerFunction · 0.56
TestServer_CloseFunction · 0.56