gogo / letmegrpc

[maintainer wanted] generates a web form gui from a grpc specification
BSD 3-Clause "New" or "Revised" License
421 stars 48 forks source link

letmegrpc binary doesn't generate code that can listen at arbitrary IP #15

Closed ivucica closed 9 years ago

ivucica commented 9 years ago

When working remotely, one may want to specify an IP in local network's range (or for some unfathomable reason, listen on all interfaces or on a public IP).

A trivial fix would be to replace httpPort flag with httpAddr, and to use that in the generated code. If port flag is specified, the program could keep the current behavior.