I'm following the instructions at 
https://github.com/grpc-ecosystem/grpc-gateway, and the "Write an 
entrypoint" says to call a method like this:

 err := gw.Register[YourServiceHandler]FromEndpoint(ctx, mux, 
*echoEndpoint, opts)

But the generated service doesn't have any such method, nor anything that 
takes that set of parameters.  I'm using a slightly modified 
hello_world.proto from the distro, and the only register method in 
hello_world.pb.go is

 func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) 

I have the equivalent of *echoEndpoint in the original example to pass to 
*grpc.Server, but what should I pass as the second param?  

Or what am I missing or doing wrong?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d469bbd7-827c-416b-91f3-9a396f3e647a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to