2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-09-19 10:35:47 +08:00

Nit in README

This commit is contained in:
Soheil Hassas Yeganeh 2015-07-29 17:35:55 -04:00
parent 6194168d4e
commit 084f5e19e6

View File

@ -24,10 +24,10 @@ httpL := m.Match(cmux.Any()) // Any means anything that is not yet matched.
// Create your protocol servers.
grpcS := grpc.NewServer()
pb.RegisterGreeterServer(grpcs, &server{})
grpchello.RegisterGreeterServer(grpcs, &server{})
httpS := &http.Server{
Handler: &testHTTP1Handler{},
Handler: &helloHTTP1Handler{},
}
// Use the muxed listeners for your servers.