routerpc: remove dead package

This commit is contained in:
Cadey Ratio 2017-04-28 23:36:55 -07:00
parent e288c7c08c
commit 36786956dc
1 changed files with 0 additions and 28 deletions

View File

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