Documentation
¶
Index ¶
- Variables
- func GetTlsVersion(tlsMinVersion string) (uint16, error)
- func NewClientConfig(logger log.Logger, cert, key, caCert, serverName string, skipVerify bool, ...) (*tls.Config, error)
- func NewServerConfig(logger log.Logger, certPath, keyPath, clientCA, tlsMinVersion string, ...) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedTLSVersions = []string{"1.0", "1.1", "1.2", "1.3"}
AllowedTLSVersions is for global lists the TLS versions allowed to be used.
Functions ¶
func GetTlsVersion ¶ added in v0.42.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.