Remove trailing spaces in README
This commit is contained in:
parent
581432eab8
commit
09b35f69d5
|
@ -2,7 +2,7 @@
|
|||
|
||||
cmux is a generic Go library to multiplex connections based on
|
||||
their payload. Using cmux, you can serve gRPC, HTTP, and Go RPC
|
||||
on the same TCP listener to avoid using one port per
|
||||
on the same TCP listener to avoid using one port per
|
||||
protocol.
|
||||
|
||||
## How-To
|
||||
|
@ -33,7 +33,7 @@ httpS := &http.Server{
|
|||
}
|
||||
|
||||
trpcS := rpc.NewServer()
|
||||
s.Register(&ExampleRPCRcvr{})
|
||||
s.Register(&ExampleRPCRcvr{})
|
||||
|
||||
// Use the muxed listeners for your servers.
|
||||
go grpcS.Serve(grpcL)
|
||||
|
|
Loading…
Reference in New Issue