gogo / letmegrpc

[maintainer wanted] generates a web form gui from a grpc specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ivucica opened this issue · comments

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.