2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-11-09 19:21:52 +08:00

Remove trailing spaces in README

This commit is contained in:
Soheil Hassas Yeganeh 2015-07-31 19:57:20 -04:00
parent 581432eab8
commit 09b35f69d5

View File

@ -2,7 +2,7 @@
cmux is a generic Go library to multiplex connections based on cmux is a generic Go library to multiplex connections based on
their payload. Using cmux, you can serve gRPC, HTTP, and Go RPC 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. protocol.
## How-To ## How-To
@ -33,7 +33,7 @@ httpS := &http.Server{
} }
trpcS := rpc.NewServer() trpcS := rpc.NewServer()
s.Register(&ExampleRPCRcvr{}) s.Register(&ExampleRPCRcvr{})
// Use the muxed listeners for your servers. // Use the muxed listeners for your servers.
go grpcS.Serve(grpcL) go grpcS.Serve(grpcL)