Documentation ¶
Index ¶
Constants ¶
View Source
const (
Mbox = "admin."
)
Variables ¶
View Source
var ( ErrDisabled = errors.New("dns is disabled") ErrInvalidPublicIP = errors.New("invalid public ip") )
Functions ¶
This section is empty.
Types ¶
type ChallengeEvent ¶
type ChallengeEvent struct { // ID is the unique identifier of the dns challenge ID string // Deleted indicates whether the dns challenge was deleted Deleted bool // Challenge is the challenge that was created or updated. // If the challenge was deleted, this will be nil Challenge string }
ChallengeEvent is the event that is emitted when a DNS challenge is created, updated, or deleted
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
func (*DNS) ValidARecordQuestion ¶
func (*DNS) ValidNSRecordQuestion ¶
func (*DNS) ValidSOARecordQuestion ¶
type Storage ¶
type Storage interface { SubscribeToDNSChallenges(ctx context.Context) <-chan *ChallengeEvent ListDNSChallenges(ctx context.Context) ([]ChallengeEvent, error) }
Click to show internal directories.
Click to hide internal directories.