Documentation ¶
Index ¶
- func DefaultClientTLSConfig() *tls.Config
- func DefaultClientTLSConfigWithCACert(caCertFile string) (*tls.Config, error)
- func DefaultClientTLSConfigWithCACertKeyPair(caCertFile, certFile, keyFile string) (*tls.Config, error)
- func DefaultServerTLSConfig(certFile, keyFile string) (*tls.Config, error)
- func LoadCACert(caCertFile string) (*x509.CertPool, error)
- func MaybeDefaultServerTLSConfig(certFile, keyFile string) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClientTLSConfig ¶
func DefaultServerTLSConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.