2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-09-20 02:55:46 +08:00

doc: fix a typo

This commit is contained in:
Jingguo Yao 2017-05-22 20:38:03 +08:00
parent 0068a46c9c
commit 885b8d8a14

View File

@ -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)