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" "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
} }