diff --git a/README.md b/README.md index d3dfcac..bfac219 100644 --- a/README.md +++ b/README.md @@ -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)