Documentation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
func NewHTTPClient(options ...HTTPClientOption) *http.Client
NewHTTPClient returns new *http.Client with optional insecure SSL mode
Types ¶
type HTTPClientOption ¶
func WithClientCertificates ¶
func WithClientCertificates(certs []tls.Certificate) HTTPClientOption
func WithSkipSSLVerification ¶
func WithSkipSSLVerification(skip bool) HTTPClientOption
Directories
Path | Synopsis |
---|---|