Documentation ¶
Overview ¶
Package tls provides a function to create a self signed certificate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Certificate ¶
func Certificate(host ...string) (tls.Certificate, error)
Certificate generates a self signed certificate.
func CertificateQuic ¶
func CertificateQuic() (tls.Certificate, error)
CertificateQuic generates a certificate for use with QUIC. NOTE: this is redundant, was just here to test, might remove later, still needs to check if its useful.
func GenTLSConfig ¶
GenTLSConfig creates a self signed certificate and returns it in a TSL config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.