Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCertificateConfiguration = errors.New("tls configuration is invalid")
View Source
var ErrNoCertificatesConfigured = errors.New("no tls configuration was found")
Functions ¶
func Certificate ¶
func Certificate(prefix string) ([]tls.Certificate, error)
Certificate returns loads a TLS Certificate by looking at environment variables
func CertificateHelpMessage ¶
CertificateHelpMessage returns a help message for configuring TLS Certificates
func HTTPSCertificate ¶
func HTTPSCertificate() ([]tls.Certificate, error)
func HTTPSCertificateHelpMessage ¶
func HTTPSCertificateHelpMessage() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.