doc: fix a typo

This commit is contained in:
Jingguo Yao 2017-05-22 20:38:03 +08:00
parent 0068a46c9c
commit 885b8d8a14
1 changed files with 1 additions and 1 deletions

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)