You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have many services (more then 20) does it possible to register bulk all this services in grpc and grpc-gateway? Or i need to pass one by one inside gateway and grpc functions (runtime.NewServeMux and grpc.NewServer)
The text was updated successfully, but these errors were encountered:
I the best you can do is create something like a slice of register functions and then call the function once for each entry, and it's not really worth it at that point since you have to list all of them explicitly anyway.
I don't think there's anything we can do to make this easier without creating a lot of ugly new API unfortunately, so I will close this issue. If you disagree, please feel free to reply and we can discuss other solutions.
I have many services (more then 20) does it possible to register bulk all this services in grpc and grpc-gateway? Or i need to pass one by one inside gateway and grpc functions (runtime.NewServeMux and grpc.NewServer)
The text was updated successfully, but these errors were encountered: