Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there has a way to let grpc-gateway server support multiple endpoints #573

Closed
seamys opened this issue Mar 14, 2018 · 1 comment
Closed

Comments

@seamys
Copy link

seamys commented Mar 14, 2018

is there has a way to let grpc-gateway server support multiple endpoints

@seamys
Copy link
Author

seamys commented Mar 14, 2018

sorry, I found the answer in the example folder.

var (
echoEndpoint = flag.String("echo_endpoint", "localhost:9090", "endpoint of EchoService")
abeEndpoint = flag.String("more_endpoint", "localhost:9090", "endpoint of ABitOfEverythingService")
flowEndpoint = flag.String("flow_endpoint", "localhost:9090", "endpoint of FlowCombination")
swaggerDir = flag.String("swagger_dir", "examples/examplepb", "path to the directory which contains swagger definitions")
)

@seamys seamys closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant