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

Function GetMsgPackServerCodec

utils/msgpack.go:61–63  ·  view source on GitHub ↗

GetMsgPackServerCodec returns msgpack server codec for connection.

(c io.ReadWriteCloser)

Source from the content-addressed store, hash-verified

59
60// GetMsgPackServerCodec returns msgpack server codec for connection.
61func GetMsgPackServerCodec(c io.ReadWriteCloser) rpc.ServerCodec {
62 return codec.MsgpackSpecRpc.ServerCodec(c, msgPackHandle)
63}
64
65// GetMsgPackClientCodec returns msgpack client codec for connection.
66func GetMsgPackClientCodec(c io.ReadWriteCloser) rpc.ClientCodec {

Callers 4

serveConnMethod · 0.92
TestDHTService_PingFunction · 0.92
ServeDirectFunction · 0.92
ServeMuxFunction · 0.92

Calls

no outgoing calls

Tested by 2

serveConnMethod · 0.74
TestDHTService_PingFunction · 0.74