cmd, node, rpc: readd inproc RPC client, expose via node

This commit is contained in:
Péter Szilágyi
2016-02-09 14:10:40 +02:00
parent 900e124bee
commit df75dbfd68
11 changed files with 178 additions and 25 deletions

View File

@ -51,6 +51,5 @@ func NewRemoteRPCClientFromString(endpoint string) (rpc.Client, error) {
if strings.HasPrefix(endpoint, "ws:") {
return rpc.NewWSClient(endpoint)
}
return nil, fmt.Errorf("invalid endpoint")
}