Versions in this module Expand all Collapse all v0 v0.0.1 Mar 24, 2020 Changes in this version + func NewHttpClient(options ...Option) (*http.Client, error) + type HttpClientConfig struct + DialTimeout time.Duration + IdleConnTimeout time.Duration + MaxIdleConns int + TLSHandshakeTimeout time.Duration + Timeout time.Duration + TlsConfig *tls.Config + type Option func(*HttpClientConfig) + func WithDialTimeout(timeout time.Duration) Option + func WithIdleConnTimeout(idleconntimeout time.Duration) Option + func WithMaxIdleConns(maxidleconns int) Option + func WithTLSHandshakeTimeout(timeout time.Duration) Option + func WithTimeout(timeout time.Duration) Option + func WithTlsConfig(tlsConfig *tls.Config) Option