Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateInterval int
Functions ¶
This section is empty.
Types ¶
type CloudflareClient ¶
type CloudflareClient struct {
ApiToken string `json:"apiToken"`
ZoneIdentifier string `json:"zoneIdentifier"`
RecordIdentifier string `json:"recordIdentifier"`
UpdateIntervalInMinutes int `json:"updateIntervalInMinutes"`
// contains filtered or unexported fields
}
func CreateClient ¶
func CreateClient(apiToken string, zoneIdentifier string, recordIdentifier string, updateInterval int) *CloudflareClient
func (CloudflareClient) UpdateRecord ¶
func (cc CloudflareClient) UpdateRecord() string
func (CloudflareClient) VerifyApiToken ¶
func (cc CloudflareClient) VerifyApiToken(done chan bool) bool
func (CloudflareClient) VerifyDnsRecord ¶
func (cc CloudflareClient) VerifyDnsRecord(done chan bool) bool
func (CloudflareClient) VerifyZone ¶
func (cc CloudflareClient) VerifyZone(done chan bool) bool
type CloudflareResponse ¶
Click to show internal directories.
Click to hide internal directories.