doc: fix a typo
This commit is contained in:
parent
0068a46c9c
commit
885b8d8a14
|
@ -32,7 +32,7 @@ httpS := &http.Server{
|
||||||
}
|
}
|
||||||
|
|
||||||
trpcS := rpc.NewServer()
|
trpcS := rpc.NewServer()
|
||||||
s.Register(&ExampleRPCRcvr{})
|
trpcS.Register(&ExampleRPCRcvr{})
|
||||||
|
|
||||||
// Use the muxed listeners for your servers.
|
// Use the muxed listeners for your servers.
|
||||||
go grpcS.Serve(grpcL)
|
go grpcS.Serve(grpcL)
|
||||||
|
|
Loading…
Reference in New Issue