aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/websocket.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-09 20:10:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-09 20:10:40 +0800
commitdf75dbfd6804923b1c8a8388b67523072d59f155 (patch)
tree5191e9a8004499727a42336be1f092bc04943ae8 /rpc/websocket.go
parent900e124beea551ded290f61e7bf85ff6b2e4a29e (diff)
downloadgo-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.gz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.bz2
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.lz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.xz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.zst
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.zip
cmd, node, rpc: readd inproc RPC client, expose via node
Diffstat (limited to 'rpc/websocket.go')
-rw-r--r--rpc/websocket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/websocket.go b/rpc/websocket.go
index 548847602..92615494e 100644
--- a/rpc/websocket.go
+++ b/rpc/websocket.go
@@ -109,7 +109,7 @@ type wsClient struct {
// NewWSClientj creates a new RPC client that communicates with a RPC server
// that is listening on the given endpoint using JSON encoding.
-func NewWSClient(endpoint string) (*wsClient, error) {
+func NewWSClient(endpoint string) (Client, error) {
return &wsClient{endpoint: endpoint}, nil
}