aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/inproc.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-05-03 16:41:22 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-03 16:41:22 +0800
commit2ad511ce0912194e9f30010f01fc338c585f8634 (patch)
treea3f20b6850a40c6b8b1229f8c5ac239153475dc0 /rpc/inproc.go
parent541f299fbbf3c4f4f0ee49c5ecb832f08cc22656 (diff)
downloaddexon-2ad511ce0912194e9f30010f01fc338c585f8634.tar.gz
dexon-2ad511ce0912194e9f30010f01fc338c585f8634.tar.zst
dexon-2ad511ce0912194e9f30010f01fc338c585f8634.zip
rpc: golint error with context as last parameter (#16657)
* rpc/*: golint error with context as last parameter * Update json.go
Diffstat (limited to 'rpc/inproc.go')
-rw-r--r--rpc/inproc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/inproc.go b/rpc/inproc.go
index 595a7ca65..cbe65d10e 100644
--- a/rpc/inproc.go
+++ b/rpc/inproc.go
@@ -21,7 +21,7 @@ import (
"net"
)
-// NewInProcClient attaches an in-process connection to the given RPC server.
+// DialInProc attaches an in-process connection to the given RPC server.
func DialInProc(handler *Server) *Client {
initctx := context.Background()
c, _ := newClient(initctx, func(context.Context) (net.Conn, error) {