From 36786956dcfb5461eb3109833e915df08dc1449a Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 28 Apr 2017 23:36:55 -0700 Subject: [PATCH] routerpc: remove dead package --- routerpc/rpc.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 routerpc/rpc.go diff --git a/routerpc/rpc.go b/routerpc/rpc.go deleted file mode 100644 index 225bb9a..0000000 --- a/routerpc/rpc.go +++ /dev/null @@ -1,28 +0,0 @@ -package routerpc - -import ( - "crypto" - "crypto/rsa" - "encoding/gob" -) - -func init() { - gob.Register(&AddHostRequest{}) - gob.Register(&AddHostResponse{}) - gob.Register(&rsa.PrivateKey{}) -} - -// AddHostRequest is for adding a host to the routing mesh -type AddHostRequest struct { - APIKey string - Hostname string - PrivKey crypto.PrivateKey -} - -// AddHostResponse ... -type AddHostResponse struct { - Token string - Hostname string - OnionHostname string - PrivKey crypto.PrivateKey -}