Documentation
¶
Index ¶
Constants ¶
View Source
const ACMETxtKey key = 0
ACMETxtKey is a context key for ACMETxt struct
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmednsAPI ¶
type AcmednsAPI struct {
Config *acmedns.AcmeDnsConfig
DB acmedns.AcmednsDB
Logger *zap.SugaredLogger
// contains filtered or unexported fields
}
func Init ¶
func Init(config *acmedns.AcmeDnsConfig, db acmedns.AcmednsDB, logger *zap.SugaredLogger, errChan chan error) AcmednsAPI
func (*AcmednsAPI) Auth ¶
func (a *AcmednsAPI) Auth(update httprouter.Handle) httprouter.Handle
Auth middleware for update request
func (*AcmednsAPI) Start ¶
func (a *AcmednsAPI) Start(dnsservers []acmedns.AcmednsNS)
type ChallengeProvider ¶
type ChallengeProvider struct {
// contains filtered or unexported fields
}
ChallengeProvider implements go-acme/lego Provider interface which is used for ACME DNS challenge handling
func NewChallengeProvider ¶
func NewChallengeProvider(servers []acmedns.AcmednsNS) ChallengeProvider
NewChallengeProvider creates a new instance of ChallengeProvider
func (*ChallengeProvider) CleanUp ¶
CleanUp is called after the run to remove the ACME DNS challenge tokens from DNS records
Click to show internal directories.
Click to hide internal directories.