Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProxyValueOff = "off" ProxyValueReadonly = "readonly" ProxyValueOn = "on" )
Variables ¶
View Source
var ( ProxyValues = []string{ ProxyValueOff, ProxyValueReadonly, ProxyValueOn, } )
Functions ¶
This section is empty.
Types ¶
type IPAddressPort ¶
IPAddressPort implements the flag.Value interface. The argument is validated as "ip:port".
func (*IPAddressPort) Set ¶
func (a *IPAddressPort) Set(arg string) error
func (*IPAddressPort) String ¶
func (a *IPAddressPort) String() string
type Proxy ¶
type Proxy string
ProxyFlag implements the flag.Value interface.
type URLsValue ¶
func NewURLsValue ¶
func (*URLsValue) Set ¶
Set parses a command line set of URLs formatted like: http://127.0.0.1:7001,http://10.1.1.2:80
Click to show internal directories.
Click to hide internal directories.