package acme
import "zgo.at/goatcounter/v2/acme"
Index ¶
- func Enabled() bool
- func Make(ctx context.Context, domain string) error
- func NewCache(dir string) cache
- func Reset()
- func Setup(db zdb.DB, flag string, dev bool) (*tls.Config, http.HandlerFunc, uint8, bool)
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled reports if ACME is enabled.
func Make ¶
Make a new certificate for the domain.
func NewCache ¶
func NewCache(dir string) cache
func Reset ¶
func Reset()
func Setup ¶
Setup returns a tls.Config and http-01 verification based on the value of the -tls cmdline flag.
Source Files ¶
acme.go
- Version
- v2.5.0 (latest)
- Published
- Dec 14, 2023
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 1 day ago –
Tools for package owners.