Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TLSConfig ¶
type TLSConfig struct {
// TLSCA specifies the certificate authority to use when verifying server certificates.
TLSCA string `yaml:"tls_ca"`
// TLSCert specifies tls certificate file.
TLSCert string `yaml:"tls_cert"`
// TLSKey specifies tls key file.
TLSKey string `yaml:"tls_key"`
// InsecureSkipVerify controls whether a client verifies the server's certificate chain and host name.
InsecureSkipVerify bool `yaml:"tls_skip_verify"`
}
TLSConfig represents the standard client TLS configuration.
Click to show internal directories.
Click to hide internal directories.