Documentation
¶
Index ¶
- func IsBoolFlag(v Value) bool
- type Addr
- type AddrList
- type Binary
- type Bool
- type Bytes
- type Certificate
- type CertificateKey
- type CipherList
- type Connect
- type Dir
- type File
- type FileRange
- type HeaderField
- type HostPort
- type Method
- type Milliseconds
- type Name
- type NetworkInterface
- type Number
- type Offset
- type Option
- func AbstractUnixSocket(path string) Option
- func AltSvc(path string) Option
- func Anyauth(on bool) Option
- func Append(on bool) Option
- func Basic(on bool) Option
- func CACert(path string) Option
- func CAPath(path string) Option
- func CRLF(on bool) Option
- func CRLFile(path string) Option
- func Cert(cert string) Option
- func CertStatus(on bool) Option
- func CertType(typ string) Option
- func Ciphers(ciphers ...string) Option
- func Compressed(on bool) Option
- func CompressedSSH(on bool) Option
- func Config(path string) Option
- func ConnectTimeout(timeout time.Duration) Option
- func ConnectTo(addr string) Option
- func ContinueAt(offset int64) Option
- func Cookie(dataOrFile string) Option
- func CookieJar(path string) Option
- func CreateDirs(on bool) Option
- func DNSIPv4Addr(addr string) Option
- func DNSIPv6Addr(addr string) Option
- func DNSInterface(iface string) Option
- func DNSServers(addrs ...string) Option
- func Data(data []byte) Option
- func DataASCII(data []byte) Option
- func DataBinary(data []byte) Option
- func DataRaw(data []byte) Option
- func DataUrlencode(data []byte) Option
- func Delegation(level string) Option
- func Digest(on bool) Option
- func Disable(on bool) Option
- func DisableEPSV(on bool) Option
- func DisallowUsernameInURL(on bool) Option
- func DoHURL(url string) Option
- func DumpHeader(path string) Option
- func EGDFile(path string) Option
- func Engine(name string) Option
- func Expect100Timeout(timeout time.Duration) Option
- func FTPAccount(data []byte) Option
- func FTPAlternativeToUser(command string) Option
- func FTPCreateDirs(on bool) Option
- func FTPMethod(method string) Option
- func FTPPasv(on bool) Option
- func FTPPort(addr string) Option
- func FTPPret(on bool) Option
- func FTPSSLCCC(on bool) Option
- func FTPSSLCCCMode(mode string) Option
- func FTPSkipPasvIP(on bool) Option
- func Fail(on bool) Option
- func FailEarly(on bool) Option
- func Form(form string) Option
- func FormString(form string) Option
- func Get(on bool) Option
- func Globoff(on bool) Option
- func HAProxyProtocol(on bool) Option
- func HTTP09(on bool) Option
- func HTTP11(on bool) Option
- func HTTP2(on bool) Option
- func HTTP2PriorKnowledge(on bool) Option
- func HappyEyeballsTimeout(timeout time.Duration) Option
- func Head(on bool) Option
- func Header(header string) Option
- func Hostpubmd5(md5 string) Option
- func IPv4(on bool) Option
- func IPv6(on bool) Option
- func IgnoreContentLength(on bool) Option
- func Include(on bool) Option
- func Insecure(on bool) Option
- func Interface(iface string) Option
- func JunkSessionCookies(on bool) Option
- func KRB(level string) Option
- func KeepaliveTime(keepalive time.Duration) Option
- func Key(key string) Option
- func KeyType(typ string) Option
- func Libcurl(path string) Option
- func LimitRate(speed string) Option
- func ListOnly(on bool) Option
- func LocalPort(numberOrRange string) Option
- func Location(on bool) Option
- func LoginOptions(options string) Option
- func MailAuth(addr string) Option
- func MailFrom(addr string) Option
- func MailRcpt(addr string) Option
- func Manual(on bool) Option
- func MaxFilesize(bytes int64) Option
- func MaxRedirs(num int) Option
- func MaxTime(max time.Duration) Option
- func Metalink(on bool) Option
- func NTLM(on bool) Option
- func NTLMWB(on bool) Option
- func Negotiate(on bool) Option
- func Netrc(on bool) Option
- func NetrcFile(path string) Option
- func NetrcOptional(on bool) Option
- func Next(on bool) Option
- func NoALPN(on bool) Option
- func NoBuffer(on bool) Option
- func NoKeepalive(on bool) Option
- func NoNPN(on bool) Option
- func NoProxy(addrs ...string) Option
- func NoSessionID(on bool) Option
- func OAuth2Bearer(token string) Option
- func Output(path string) Option
- func Pass(phrase string) Option
- func PathAsIs(on bool) Option
- func PinnedPubKey(path string) Option
- func Post301(on bool) Option
- func Post302(on bool) Option
- func Post303(on bool) Option
- func Preproxy(url string) Option
- func ProgressBar(on bool) Option
- func Proto(protocols ...string) Option
- func ProtoDefault(protocol string) Option
- func ProtoRedir(protocols ...string) Option
- func Proxy(addr string) Option
- func Proxy10(hostPort string) Option
- func ProxyAnyauth(on bool) Option
- func ProxyBasic(on bool) Option
- func ProxyCACert(path string) Option
- func ProxyCRLFile(path string) Option
- func ProxyCert(cert string) Option
- func ProxyCertType(typ string) Option
- func ProxyCiphers(ciphers ...string) Option
- func ProxyDiget(on bool) Option
- func ProxyHeader(header string) Option
- func ProxyInsecure(on bool) Option
- func ProxyKey(key string) Option
- func ProxyKeyType(typ string) Option
- func ProxyNTLM(on bool) Option
- func ProxyNegotiate(on bool) Option
- func ProxyPass(phrase string) Option
- func ProxyPinnedpubkey(path string) Option
- func ProxySSLAllowBeast(on bool) Option
- func ProxyServiceName(name string) Option
- func ProxyTLS13Ciphers(ciphers ...string) Option
- func ProxyTLSAuthType(typ string) Option
- func ProxyTLSPassword(password string) Option
- func ProxyTLSUser(user string) Option
- func ProxyTLSv1(on bool) Option
- func ProxyTunnel(on bool) Option
- func ProxyUser(user string) Option
- func Pubkey(key string) Option
- func Quote(on bool) Option
- func RandomFile(path string) Option
- func Range(r string) Option
- func Raw(on bool) Option
- func Referer(url string) Option
- func RemoteHeaderName(on bool) Option
- func RemoteName(on bool) Option
- func RemoteNameAll(on bool) Option
- func RemoteTime(on bool) Option
- func Request(method string) Option
- func RequestTarget(on bool) Option
- func Resolve(resolve ...string) Option
- func Retry(limit int) Option
- func RetryConnrefused(on bool) Option
- func RetryDelay(delay time.Duration) Option
- func RetryMaxTime(limit time.Duration) Option
- func SASLIR(on bool) Option
- func SOCKS4(hostPort string) Option
- func SOCKS4a(hostPort string) Option
- func SOCKS5(hostPort string) Option
- func SOCKS5Basic(on bool) Option
- func SOCKS5GssAPI(on bool) Option
- func SOCKS5GssAPIService(name string) Option
- func SOCKS5Hostname(hostPort string) Option
- func SSL(on bool) Option
- func SSLAllowBeast(on bool) Option
- func SSLNoRevoke(on bool) Option
- func SSLReqd(on bool) Option
- func SSLv2(on bool) Option
- func SSLv3(on bool) Option
- func ServiceName(name string) Option
- func ShowError(on bool) Option
- func Silent(on bool) Option
- func SpeedLimit(speed string) Option
- func SpeedTime(speed time.Duration) Option
- func Stderr(on bool) Option
- func StyledOutput(on bool) Option
- func SuppressConnectHeaders(on bool) Option
- func TCPFastOpen(on bool) Option
- func TCPNoDelay(on bool) Option
- func TFTPBlkSize(size int) Option
- func TFTPNoOptions(on bool) Option
- func TLS13Ciphers(ciphers ...string) Option
- func TLSAuthType(typ string) Option
- func TLSMax(version string) Option
- func TLSPassword(on bool) Option
- func TLSUser(user string) Option
- func TLSv10(on bool) Option
- func TLSv11(on bool) Option
- func TLSv12(on bool) Option
- func TLSv13(on bool) Option
- func TSLv1(on bool) Option
- func TelnetOption(opt string) Option
- func TimeCond(date string) Option
- func TrEncoding(on bool) Option
- func Trace(path string) Option
- func TraceASCII(path string) Option
- func TraceTime(on bool) Option
- func UnixSocket(path string) Option
- func UploadFile(path string) Option
- func Url(url string) Option
- func UseASCII(on bool) Option
- func User(userPassword string) Option
- func UserAgent(userAgent string) Option
- func Verbose(on bool) Option
- func Version(on bool) Option
- func WriteOut(format string) Option
- func XAttr(on bool) Option
- type OptionSet
- type Port
- type Protocol
- type ProtocolList
- type ProxyAddr
- type Seconds
- type Speed
- type String
- type Token
- type Type
- type URL
- type UserPassword
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBoolFlag ¶ added in v0.1.4
Types ¶
type Certificate ¶
type Certificate string
func NewCertificate ¶
func NewCertificate(value string) *Certificate
func (Certificate) Get ¶
func (c Certificate) Get() interface{}
func (*Certificate) Set ¶
func (c *Certificate) Set(value string) error
func (Certificate) String ¶
func (c Certificate) String() string
func (Certificate) Type ¶
func (c Certificate) Type() string
type CertificateKey ¶
type CertificateKey string
func NewCertificateKey ¶
func NewCertificateKey(value string) *CertificateKey
func (CertificateKey) Get ¶
func (k CertificateKey) Get() interface{}
func (*CertificateKey) Set ¶
func (k *CertificateKey) Set(value string) error
func (CertificateKey) String ¶
func (k CertificateKey) String() string
func (CertificateKey) Type ¶
func (k CertificateKey) Type() string
type CipherList ¶
type CipherList []string
func NewCipherList ¶
func NewCipherList(value []string) *CipherList
func (CipherList) Get ¶
func (c CipherList) Get() interface{}
func (*CipherList) Set ¶
func (c *CipherList) Set(value string) error
func (CipherList) String ¶
func (c CipherList) String() string
func (CipherList) Type ¶
func (c CipherList) Type() string
type HeaderField ¶
type HeaderField string
func NewHeaderField ¶
func NewHeaderField(value string) *HeaderField
func (HeaderField) Get ¶
func (h HeaderField) Get() interface{}
func (*HeaderField) Set ¶
func (h *HeaderField) Set(value string) error
func (HeaderField) String ¶
func (h HeaderField) String() string
func (HeaderField) Type ¶
func (h HeaderField) Type() string
type Milliseconds ¶
type Milliseconds int64
func NewMilliseconds ¶
func NewMilliseconds(value time.Duration) *Milliseconds
func (Milliseconds) Get ¶
func (ms Milliseconds) Get() interface{}
func (*Milliseconds) Set ¶
func (ms *Milliseconds) Set(value string) error
func (Milliseconds) String ¶
func (ms Milliseconds) String() string
func (Milliseconds) Type ¶
func (ms Milliseconds) Type() string
type NetworkInterface ¶
type NetworkInterface string
func NewNetworkInterface ¶
func NewNetworkInterface(value string) *NetworkInterface
func (NetworkInterface) Get ¶
func (i NetworkInterface) Get() interface{}
func (*NetworkInterface) Set ¶
func (i *NetworkInterface) Set(value string) error
func (NetworkInterface) String ¶
func (i NetworkInterface) String() string
func (NetworkInterface) Type ¶
func (i NetworkInterface) Type() string
type Option ¶
func AbstractUnixSocket ¶
func CertStatus ¶
func Compressed ¶
func CompressedSSH ¶
func ConnectTimeout ¶
func ContinueAt ¶
func CreateDirs ¶
func DNSIPv4Addr ¶
func DNSIPv6Addr ¶
func DNSInterface ¶
func DNSServers ¶
func DataBinary ¶
func DataUrlencode ¶
func Delegation ¶
func DisableEPSV ¶
func DisallowUsernameInURL ¶
func DumpHeader ¶
func Expect100Timeout ¶
func FTPAccount ¶
func FTPAlternativeToUser ¶
func FTPCreateDirs ¶
func FTPSSLCCCMode ¶
func FTPSkipPasvIP ¶
func FormString ¶
func HAProxyProtocol ¶
func HTTP2PriorKnowledge ¶
func HappyEyeballsTimeout ¶
func Hostpubmd5 ¶
func IgnoreContentLength ¶
func JunkSessionCookies ¶
func KeepaliveTime ¶
func LoginOptions ¶
func MaxFilesize ¶
func NetrcOptional ¶
func NoKeepalive ¶
func NoSessionID ¶
func OAuth2Bearer ¶
func PinnedPubKey ¶
func ProgressBar ¶
func ProtoDefault ¶
func ProtoRedir ¶
func ProxyAnyauth ¶
func ProxyBasic ¶
func ProxyCACert ¶
func ProxyCRLFile ¶
func ProxyCertType ¶
func ProxyCiphers ¶
func ProxyDiget ¶
func ProxyHeader ¶
func ProxyInsecure ¶
func ProxyKeyType ¶
func ProxyNegotiate ¶
func ProxyPinnedpubkey ¶
func ProxySSLAllowBeast ¶
func ProxyServiceName ¶
func ProxyTLS13Ciphers ¶
func ProxyTLSAuthType ¶
func ProxyTLSPassword ¶
func ProxyTLSUser ¶
func ProxyTLSv1 ¶
func ProxyTunnel ¶
func RandomFile ¶
func RemoteHeaderName ¶
func RemoteName ¶
func RemoteNameAll ¶
func RemoteTime ¶
func RequestTarget ¶
func RetryConnrefused ¶
func RetryDelay ¶
func RetryMaxTime ¶
func SOCKS5Basic ¶
func SOCKS5GssAPI ¶
func SOCKS5GssAPIService ¶
func SOCKS5Hostname ¶
func SSLAllowBeast ¶
func SSLNoRevoke ¶
func ServiceName ¶
func SpeedLimit ¶
func StyledOutput ¶
func SuppressConnectHeaders ¶
func TCPFastOpen ¶
func TCPNoDelay ¶
func TFTPBlkSize ¶
func TFTPNoOptions ¶
func TLS13Ciphers ¶
func TLSAuthType ¶
func TLSPassword ¶
func TelnetOption ¶
func TrEncoding ¶
func TraceASCII ¶
func UnixSocket ¶
func UploadFile ¶
type ProtocolList ¶
type ProtocolList []string
func NewProtocolList ¶
func NewProtocolList(value []string) *ProtocolList
func (ProtocolList) Get ¶
func (p ProtocolList) Get() interface{}
func (*ProtocolList) Set ¶
func (p *ProtocolList) Set(value string) error
func (ProtocolList) String ¶
func (p ProtocolList) String() string
func (ProtocolList) Type ¶
func (p ProtocolList) Type() string
type UserPassword ¶
type UserPassword string
func NewUserPassword ¶
func NewUserPassword(value string) *UserPassword
func (UserPassword) Get ¶
func (u UserPassword) Get() interface{}
func (*UserPassword) Set ¶
func (u *UserPassword) Set(value string) error
func (UserPassword) String ¶
func (u UserPassword) String() string
func (UserPassword) Type ¶
func (u UserPassword) Type() string
Click to show internal directories.
Click to hide internal directories.