Versions in this module Expand all Collapse all v1 v1.6.7 Feb 27, 2018 Changes in this version + var ErrCacheMiss = errors.New("acme/autocert: certificate cache miss") + func AcceptTOS(tosURL string) bool + 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 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) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error)