Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// InsecureSkipVerify determine wheter to use tls.Config InsecureSkipVerify or not.
// Setting this to true is generally not recommended. Defaults to false.
InsecureSkipVerify bool
// CACerts list of custom CA certificates that we need to trust. This certificates
// will be appended to host root CA if possible.
CACerts []string
// Timeout specifies http.Client timeout. If value is zero, will use default value
// of 30 seconds.
Timeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.