2018-04-08 14:08:34 +00:00
|
|
|
package cachetype
|
|
|
|
|
2018-04-08 13:30:14 +00:00
|
|
|
// 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.
|
2022-10-21 19:58:06 +00:00
|
|
|
//
|
2022-07-05 21:57:15 +00:00
|
|
|
//go:generate mockery --name RPC --inpackage
|
2018-04-08 13:30:14 +00:00
|
|
|
type RPC interface {
|
|
|
|
RPC(method string, args interface{}, reply interface{}) error
|
|
|
|
}
|