diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
commit | df75dbfd6804923b1c8a8388b67523072d59f155 (patch) | |
tree | 5191e9a8004499727a42336be1f092bc04943ae8 /rpc/ipc.go | |
parent | 900e124beea551ded290f61e7bf85ff6b2e4a29e (diff) | |
download | go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.gz go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.zst go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.zip |
cmd, node, rpc: readd inproc RPC client, expose via node
Diffstat (limited to 'rpc/ipc.go')
-rw-r--r-- | rpc/ipc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/ipc.go b/rpc/ipc.go index b87bfcbd7..05d8909ca 100644 --- a/rpc/ipc.go +++ b/rpc/ipc.go @@ -38,7 +38,7 @@ type ipcClient struct { // NewIPCClient create a new IPC client that will connect on the given endpoint. Messages are JSON encoded and encoded. // On Unix it assumes the endpoint is the full path to a unix socket, and Windows the endpoint is an identifier for a // named pipe. -func NewIPCClient(endpoint string) (*ipcClient, error) { +func NewIPCClient(endpoint string) (Client, error) { conn, err := newIPCConnection(endpoint) if err != nil { return nil, err |