cli

package
v1.1.2-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetAddressArrayFlagVar

func NetAddressArrayFlagVar(f *pflag.FlagSet, s *[]modules.NetAddress, name string, usage string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL