Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddrWithDefaultLocalhost ¶
AddrWithDefaultLocalhost returns addr with the host set to localhost if it is empty.
func NewAddrSetter ¶
NewAddrSetter creates a new pflag.Value raps a address/port configuration option pair and enables setting them both with a single command-line flag.
func NewPortRangeSetter ¶
NewPortRangeSetter creates a new pflag.Value that allows setting a lower and upper bound of a port range with a single setting.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.