Fix README.md example code

This commit is contained in:
Alan D. Cabrera
2018-05-19 12:37:04 -04:00
committed by Soheil Hassas Yeganeh
parent e09e9389d8
commit f7603f4e1c
+1 -1
View File
@@ -25,7 +25,7 @@ trpcL := m.Match(cmux.Any()) // Any means anything that is not yet matched.
// Create your protocol servers.
grpcS := grpc.NewServer()
grpchello.RegisterGreeterServer(grpcs, &server{})
grpchello.RegisterGreeterServer(grpcS, &server{})
httpS := &http.Server{
Handler: &helloHTTP1Handler{},