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

Interface Caller

kayak/caller.go:25–27  ·  view source on GitHub ↗

Caller defines the rpc caller, supports mocks for the default rpc.PersistCaller.

Source from the content-addressed store, hash-verified

23
24// Caller defines the rpc caller, supports mocks for the default rpc.PersistCaller.
25type Caller interface {
26 Call(method string, req interface{}, resp interface{}) error
27}
28
29// NewCallerFunc defines the function type to return a Caller object.
30type NewCallerFunc func(target proto.NodeID) Caller

Callers 19

CallMethod · 0.65
callSingleMethod · 0.65
runMethod · 0.65
CallNodeMethod · 0.95
TestCaller_CallNodeFunction · 0.95
blockingFetchBlockMethod · 0.80
produceBlockMethod · 0.80
syncHeadMethod · 0.80
nonBlockingSyncMethod · 0.80
TestStartBP_CallRPCFunction · 0.95

Implementers 6

fakeTrackerCallerkayak/tracker_test.go
fakeCallerkayak/runtime_test.go
pooledClientrpc/pool.go
PersistentCallerrpc/pcaller.go
RawCallerrpc/mux/rawcaller.go
fakeServicerpc/mux/wrapper_test.go

Calls

no outgoing calls

Tested by

no test coverage detected