mirror of https://github.com/status-im/consul.git
Rename ConsulRPC to just consul.Interface
This commit is contained in:
parent
b0d6c443da
commit
e20189e2c4
|
@ -12,9 +12,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ConsulRPC is used to provide either a Client or Server,
|
// Interface is used to provide either a Client or Server,
|
||||||
// both of which can be used to perform an RPC call
|
// both of which can be used to perform certain common
|
||||||
type ConsulRPC interface {
|
// Consul methods
|
||||||
|
type Interface interface {
|
||||||
RPC(method string, args interface{}, reply interface{}) error
|
RPC(method string, args interface{}, reply interface{}) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue