Rename ConsulRPC to just consul.Interface

This commit is contained in:
Armon Dadgar 2013-12-19 15:20:10 -08:00
parent b0d6c443da
commit e20189e2c4
1 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,10 @@ import (
"sync"
)
// ConsulRPC is used to provide either a Client or Server,
// both of which can be used to perform an RPC call
type ConsulRPC interface {
// Interface is used to provide either a Client or Server,
// both of which can be used to perform certain common
// Consul methods
type Interface interface {
RPC(method string, args interface{}, reply interface{}) error
}