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:
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
Block a user