From b4172ad3c8f717d5eb41d1c04dab5d5ac90a3022 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 10 Aug 2016 19:44:58 -0700 Subject: [PATCH] Rename rpc-{client,server} storage-rpc-{client,server} --- cmd/{rpc-client.go => storage-rpc-client.go} | 2 +- ...{rpc-server-datatypes.go => storage-rpc-server-datatypes.go} | 2 +- cmd/{rpc-server.go => storage-rpc-server.go} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename cmd/{rpc-client.go => storage-rpc-client.go} (99%) rename cmd/{rpc-server-datatypes.go => storage-rpc-server-datatypes.go} (99%) rename cmd/{rpc-server.go => storage-rpc-server.go} (100%) diff --git a/cmd/rpc-client.go b/cmd/storage-rpc-client.go similarity index 99% rename from cmd/rpc-client.go rename to cmd/storage-rpc-client.go index a3eb3af8d..5e3469228 100644 --- a/cmd/rpc-client.go +++ b/cmd/storage-rpc-client.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package cmd +package main import ( "net/http" diff --git a/cmd/rpc-server-datatypes.go b/cmd/storage-rpc-server-datatypes.go similarity index 99% rename from cmd/rpc-server-datatypes.go rename to cmd/storage-rpc-server-datatypes.go index f036c1fb7..85b501901 100644 --- a/cmd/rpc-server-datatypes.go +++ b/cmd/storage-rpc-server-datatypes.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package cmd +package main // GenericReply represents any generic RPC reply. type GenericReply struct{} diff --git a/cmd/rpc-server.go b/cmd/storage-rpc-server.go similarity index 100% rename from cmd/rpc-server.go rename to cmd/storage-rpc-server.go