aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/soheilhy/cmux/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/soheilhy/cmux/README.md')
-rw-r--r--vendor/github.com/soheilhy/cmux/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/soheilhy/cmux/README.md b/vendor/github.com/soheilhy/cmux/README.md
index b1c75a7..70306e6 100644
--- a/vendor/github.com/soheilhy/cmux/README.md
+++ b/vendor/github.com/soheilhy/cmux/README.md
@@ -32,7 +32,7 @@ httpS := &http.Server{
}
trpcS := rpc.NewServer()
-s.Register(&ExampleRPCRcvr{})
+trpcS.Register(&ExampleRPCRcvr{})
// Use the muxed listeners for your servers.
go grpcS.Serve(grpcL)