Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTLSConfig ¶
Types ¶
type TLSConfig ¶
func NewTLSConfigCerts ¶ added in v0.64.1
func (*TLSConfig) LoadClientCACert ¶ added in v0.63.0
func (*TLSConfig) LoadRootCACert ¶ added in v0.63.0
func (*TLSConfig) LoadX509KeyPair ¶
type TLSVersion ¶ added in v0.64.1
type TLSVersion uint16
const ( VersionTLS13 TLSVersion = tls.VersionTLS13 VersionTLS12 TLSVersion = tls.VersionTLS12 VersionTLS11 TLSVersion = tls.VersionTLS11 VersionTLS10 TLSVersion = tls.VersionTLS10 VersionSSL30 TLSVersion = tls.VersionSSL30 )
func (TLSVersion) String ¶ added in v0.64.1
func (t TLSVersion) String() string
Click to show internal directories.
Click to hide internal directories.