Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://rest.easydns.net"
DefaultBaseURL the default API endpoint.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL *url.URL HTTPClient *http.Client // contains filtered or unexported fields }
Client the EasyDNS API client.
func (*Client) DeleteRecord ¶
type ZoneRecord ¶
type ZoneRecord struct { ID string `json:"id,omitempty"` Domain string `json:"domain"` Host string `json:"host"` TTL string `json:"ttl"` Priority string `json:"prio"` Type string `json:"type"` Rdata string `json:"rdata"` LastMod string `json:"last_mod,omitempty"` Revoked int `json:"revoked,omitempty"` NewHost string `json:"new_host,omitempty"` }
Click to show internal directories.
Click to hide internal directories.