Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliDNS ¶
AliDNS token
func (*AliDNS) GetDomainRecords ¶
func (d *AliDNS) GetDomainRecords(domain, rr string) []DomainRecord
GetDomainRecords gets all the doamin records according to input subdomain key
func (*AliDNS) UpdateDomainRecord ¶
func (d *AliDNS) UpdateDomainRecord(r DomainRecord) error
UpdateDomainRecord updates domain record
type DomainRecord ¶
type DomainRecord struct { DomainName string RecordID string `json:"RecordId"` RR string Type string Value string Line string Priority int TTL int Status string Locked bool }
DomainRecord struct
type Handler ¶
Handler struct
func (*Handler) DomainLoop ¶
DomainLoop the main logic loop
func (*Handler) SetConfiguration ¶
SetConfiguration pass dns settings and store it to handler instance
Click to show internal directories.
Click to hide internal directories.