Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerTLSConfig ¶
func GetServerTLSConfig(tlsCertFile, tlsKeyFile, tlsMinVersion string, tlsCipherSuites []string) (*tls.Config, error)
GetServerTLSConfig returns TLS config for the server.
func IsTrivialNetworkError ¶
IsTrivialNetworkError returns true if the err can be ignored during logging.
func ParseTLSVersion ¶
ParseTLSVersion returns tls version from the given string s.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.