Help us shape the future of Go! Take the 2026 Go Developer Survey

certmgr

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertMgr

type CertMgr struct {
	// contains filtered or unexported fields
}

func New

func New(root string, email string, domains []string, provider challenge.Provider,
	opts ...Option) (*CertMgr, error)

func (*CertMgr) GetTLSConfig

func (cm *CertMgr) GetTLSConfig() *tls.Config

func (*CertMgr) SetOption

func (cm *CertMgr) SetOption(opt Option)

func (*CertMgr) Start

func (cm *CertMgr) Start() error

type Option

type Option func(*options)

func CADirURL

func CADirURL(url string) Option

func CAInsecure

func CAInsecure(insecure bool) Option

func KeyType

func KeyType(keyType certcrypto.KeyType) Option

func Logger

func Logger(l *slog.Logger) Option

func NotifyReadyFunc

func NotifyReadyFunc(f func()) Option

func RenewInterval

func RenewInterval(d time.Duration) Option

func RenewThreshold

func RenewThreshold(d time.Duration) Option

func TestOnlyDisableCompletePropagationRequirement added in v1.26.0

func TestOnlyDisableCompletePropagationRequirement() Option

func TestOnlyTimeNow

func TestOnlyTimeNow(f func() time.Time) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL