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

Method Call

kayak/runtime_test.go:224–230  ·  view source on GitHub ↗
(method string, req interface{}, resp interface{})

Source from the content-addressed store, hash-verified

222}
223
224func (c *fakeCaller) Call(method string, req interface{}, resp interface{}) (err error) {
225 s, err := c.s.OpenStream()
226 client := rpc.NewClientWithCodec(utils.GetMsgPackClientCodec(s))
227 defer client.Close()
228
229 return client.Call(method, req, resp)
230}
231
232func TestRuntime(t *testing.T) {
233 Convey("runtime test", t, func(c C) {

Callers

nothing calls this directly

Calls 3

GetMsgPackClientCodecFunction · 0.92
CloseMethod · 0.65
CallMethod · 0.65

Tested by

no test coverage detected