Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetAddressArrayFlagVar ¶
NetAddressArrayFlagVar defines a []modules.NetAddress flag with specified name and usage string. The argument s points to a []modules.NetAddress variable in which to store the validated values of the flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name).
func NetAddressArrayFlagVarP ¶
func NetAddressArrayFlagVarP(f *pflag.FlagSet, s *[]modules.NetAddress, name, shorthand string, usage string)
NetAddressArrayFlagVarP defines a []modules.NetAddress flag with specified name, shorthand and usage string. The argument s points to a []modules.NetAddress variable in which to store the validated values of the flags. The value of each argument will not try to be separated by comma, each value has to be defined as a separate flag (using the same name or shorthand).
Types ¶
This section is empty.