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