aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/inproc.go
diff options
context:
space:
mode:
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) {