|
@ -69,7 +69,7 @@ func init() { |
|
|
cmdVolume.Run = runVolume // break init cycle
|
|
|
cmdVolume.Run = runVolume // break init cycle
|
|
|
v.port = cmdVolume.Flag.Int("port", 8080, "http listen port") |
|
|
v.port = cmdVolume.Flag.Int("port", 8080, "http listen port") |
|
|
v.publicPort = cmdVolume.Flag.Int("port.public", 0, "port opened to public") |
|
|
v.publicPort = cmdVolume.Flag.Int("port.public", 0, "port opened to public") |
|
|
v.ip = cmdVolume.Flag.String("ip", util.DetectedHostAddress(), "ip or server name") |
|
|
|
|
|
|
|
|
v.ip = cmdVolume.Flag.String("ip", util.DetectedHostAddress(), "ip or server name, also used as identifier") |
|
|
v.publicUrl = cmdVolume.Flag.String("publicUrl", "", "Publicly accessible address") |
|
|
v.publicUrl = cmdVolume.Flag.String("publicUrl", "", "Publicly accessible address") |
|
|
v.bindIp = cmdVolume.Flag.String("ip.bind", "", "ip address to bind to") |
|
|
v.bindIp = cmdVolume.Flag.String("ip.bind", "", "ip address to bind to") |
|
|
v.masters = cmdVolume.Flag.String("mserver", "localhost:9333", "comma-separated master servers") |
|
|
v.masters = cmdVolume.Flag.String("mserver", "localhost:9333", "comma-separated master servers") |
|
|