diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-03 16:41:22 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-03 16:41:22 +0800 |
commit | 2ad511ce0912194e9f30010f01fc338c585f8634 (patch) | |
tree | a3f20b6850a40c6b8b1229f8c5ac239153475dc0 /rpc/inproc.go | |
parent | 541f299fbbf3c4f4f0ee49c5ecb832f08cc22656 (diff) | |
download | dexon-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.go | 2 |
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) { |