Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTLSConfig ¶
func CreateTLSConfig(prefix string) (*tls.Config, error)
CreateTLSConfig creates tls.Config instance from TLS parameters passed in environment variables with the given prefix
func NewTLSConfig ¶ added in v0.5.4
func NewTLSConfig(certPath, keyPath, caPath, serverName string, insecure bool, minVersion uint16) (*tls.Config, error)
NewTLSConfig creates a tls.Config instance from directly-passed parameters, loading the ca, cert, and key from disk
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.