Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCertificate ¶
func LoadCertificate(keyFile, certFile, domain string) (tls.Certificate, error)
LoadCertificate loads a certificate given a private key and certificate PEM files. Only in case the associated domain is localhost and no files are specified a self signed certificate will be automatically generated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.