Versions in this module Expand all Collapse all v1 v1.1.2 Dec 17, 2018 Changes in this version + var ErrCacheMiss = errors.New("acme/autocert: certificate cache miss") + func AcceptTOS(tosURL string) bool + func NewListener(domains ...string) net.Listener + type Cache interface + Delete func(ctx context.Context, key string) error + Get func(ctx context.Context, key string) ([]byte, error) + Put func(ctx context.Context, key string, data []byte) error + type DNSHandler interface + DeleteTXTRecord func(ctx context.Context, domain string) + PutTXTRecord func(ctx context.Context, domain string, value string) + type DirCache string + func (d DirCache) Delete(ctx context.Context, name string) error + func (d DirCache) Get(ctx context.Context, name string) ([]byte, error) + func (d DirCache) Put(ctx context.Context, name string, data []byte) error + type HostPolicy func(ctx context.Context, host string) error + func HostWhitelist(hosts ...string) HostPolicy + type Manager struct + Cache Cache + Client *acme.Client + Email string + ForceRSA bool + HostPolicy HostPolicy + Prompt func(tosURL string) bool + RenewBefore time.Duration + func (m *Manager) DNSHandler(handler DNSHandler) + func (m *Manager) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error) + func (m *Manager) HTTPHandler(fallback http.Handler) http.Handler + func (m *Manager) Listener() net.Listener Incompatible versions in this module v2.0.0+incompatible Jun 8, 2020 v2.0.0-alpha.1+incompatible May 18, 2020