From e20189e2c41eb61ebaf970bebccb2f1b97b12ff3 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Thu, 19 Dec 2013 15:20:10 -0800 Subject: [PATCH] Rename ConsulRPC to just consul.Interface --- consul/client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/consul/client.go b/consul/client.go index 38d0e2ae14..caf2979d9a 100644 --- a/consul/client.go +++ b/consul/client.go @@ -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 }