Documentation ¶
Overview ¶
package simpletls helps setting up a TLS listener with Let's Encrypt's autocert.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TLSKey = filepath.Join(os.Getenv("HOME"), "keys", "key.pem") TLSCert = filepath.Join(os.Getenv("HOME"), "keys", "cert.pem") CertCache = filepath.Join(os.Getenv("HOME"), "keys", "letsencrypt.cache") )
View Source
var (
FlagAutocert = flag.Bool("autocert", true, `Get https certificate from Let's Encrypt. The cached certificate(s) will be in CertCache.`)
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.