Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
HTTPClient *http.Client
BaseURL *url.URL
// contains filtered or unexported fields
}
Client ClouDNS client
func (*Client) AddTxtRecord ¶
AddTxtRecord add a TXT record
func (*Client) FindTxtRecord ¶
FindTxtRecord return the TXT record a zone ID and a FQDN
type TXTRecord ¶
type TXTRecord struct {
ID int `json:"id,string"`
Type string `json:"type"`
Host string `json:"host"`
Record string `json:"record"`
Failover int `json:"failover,string"`
TTL int `json:"ttl,string"`
Status int `json:"status"`
}
TXTRecord a TXT record
type TXTRecords ¶
Click to show internal directories.
Click to hide internal directories.