(privateKeyPath string, masterKey []byte, listenAddr string)
| 85 | } |
| 86 | |
| 87 | func createServer(privateKeyPath string, masterKey []byte, listenAddr string) (server *mux.Server, err error) { |
| 88 | server = mux.NewServer() |
| 89 | err = server.InitRPCServer(listenAddr, privateKeyPath, masterKey) |
| 90 | return |
| 91 | } |
| 92 | |
| 93 | func createDirectServer(privateKeyPath string, masterKey []byte, listenAddr string) (server *rpc.Server, err error) { |
| 94 | if listenAddr == "" { |
no test coverage detected