Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSelfSignedCertificate ¶
func GenerateSelfSignedCertificate(hosts []string) (tls.Certificate, error)
GenerateSelfSignedCertificate generates a P256 certificate that can be used to start an HTTPS server. The certificate is valid for a year after it's generated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.