Documentation ¶
Overview ¶
Package httpflags provides HTTP client flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Default contains the default flags. Make a copy of this, do not reuse.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct { Timeout time.Duration `long:"http-timeout" env:"HB_HTTP_TIMEOUT" description:"HTTP client timeout"` UntrustedTimeout time.Duration `long:"http-untrusted-timeout" env:"HB_HTTP_UNTRUSTED_TIMEOUT" description:"Untrusted HTTP client timeout"` UntrustedProxy string `long:"http-untrusted-proxy" env:"HB_HTTP_UNTRUSTED_PROXY" description:"Untrusted HTTP client proxy address"` UntrustedProxyUser string `long:"http-untrusted-proxy-user" env:"HB_HTTP_UNTRUSTED_PROXY_USER" description:"Untrusted HTTP client proxy user"` UntrustedProxyPassword string `` /* 126-byte string literal not displayed */ }
HTTP contains HTTP client flags.
Click to show internal directories.
Click to hide internal directories.