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

    type HTTPClientOption func(client *http.Client)

    func WithClientCertificates

    func WithClientCertificates(certs []tls.Certificate) HTTPClientOption

    func WithSkipSSLVerification

    func WithSkipSSLVerification(skip bool) HTTPClientOption

    Source Files