2
0
mirror of https://github.com/status-im/consul.git synced 2025-03-02 14:20:39 +00:00

11 lines
326 B
Go

package cachetype
//go:generate mockery -all -inpkg
// RPC is an interface that an RPC client must implement. This is a helper
// interface that is implemented by the agent delegate so that Type
// implementations can request RPC access.
type RPC interface {
RPC(method string, args interface{}, reply interface{}) error
}