github.com/Aestek/consul@v1.2.4-0.20190309222502-b2c31e33971a/agent/cache-types/rpc.go (about) 1 package cachetype 2 3 //go:generate mockery -all -inpkg 4 5 // RPC is an interface that an RPC client must implement. This is a helper 6 // interface that is implemented by the agent delegate so that Type 7 // implementations can request RPC access. 8 type RPC interface { 9 RPC(method string, args interface{}, reply interface{}) error 10 }