Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
func Extract(log *zap.SugaredLogger, acmePath string, certsDir string) error
Extract the certs from the acme file
func WatchFileChanges ¶
func WatchFileChanges(log *zap.SugaredLogger, acmePath string, certsDir string)
WatchFileChanges watch acme file changes and update the certs
Types ¶
type Account ¶
type Account struct { Email string `json:"Email"` Registration Registration `json:"Registration"` PrivateKey string `json:"PrivateKey"` KeyType string `json:"KeyType"` }
Account resolver account
type Certificate ¶
type Certificate struct { Domain Domain `json:"domain"` Certificate string `json:"certificate"` Key string `json:"key"` Store string `json:"Store"` }
Certificate a certificate
type Registration ¶
Registration account registration
type Resolver ¶
type Resolver struct { Account Account `json:"Account"` Certificates []Certificate `json:"Certificates"` }
Resolver cert resolver
Click to show internal directories.
Click to hide internal directories.