aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/ipc.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-13 20:53:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-13 20:53:48 +0800
commit770b29fd80b8f25be31c2db5af6904cc5d0688ef (patch)
tree7b9da6bc13f6e881dd3a4ae231e9c69b6d9bbfeb /rpc/ipc.go
parentb05e472c076d30035233d6a8b5fb3360b236e3ff (diff)
parentdf75dbfd6804923b1c8a8388b67523072d59f155 (diff)
downloaddexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar.gz
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar.bz2
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar.lz
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar.xz
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.tar.zst
dexon-770b29fd80b8f25be31c2db5af6904cc5d0688ef.zip
Merge pull request #2175 from karalabe/refactor-http-rpc
cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect
Diffstat (limited to 'rpc/ipc.go')
-rw-r--r--rpc/ipc.go2
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