aero
aero copied to clipboard
Option for Host IP configuration
Aero provides an option to set Port but there is no configuration setting for Host IP. Please provide an option for setting Host IP.
Hi! I suggest a way to set Port by writing on program when developer run their application. For example:
// current application run method (r is value returned by aero.New())
r.Run()
↓
// I suggested way. (port is string)
r.Run(port)
or
r.Run(":8080")
When I develop api using multiple port, I think the way is more comfortable.
Port can be set with Config.http.port, but IP should be a great improvement, instead of localhost by default