Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginsRoot = root + ".plugins"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Debug bool ConnectionTimeout time.Duration CloseConnection bool KeepAlive time.Duration RequestTimeout time.Duration FallbackDelay time.Duration Transport OptionsTransport Host string }
func NewOptions ¶
func NewOptionsWithPath ¶
type OptionsTransport ¶
type OptionsTransport struct { DisableCompression bool DisableKeepAlives bool MaxIdleConnsPerHost int ResponseHeaderTimeout time.Duration ForceAttemptHTTP2 bool `config:"forceAttemptHTTP2"` MaxIdleConns int MaxConnsPerHost int IdleConnTimeout time.Duration TLSHandshakeTimeout time.Duration ExpectContinueTimeout time.Duration }
Click to show internal directories.
Click to hide internal directories.