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

Merge pull request #47 from yaojingguo/issue-46

doc: fix a typo
This commit is contained in:
Soheil Hassas Yeganeh 2017-05-22 08:43:13 -04:00 committed by GitHub
commit f671b41193

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)