Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://api.godaddy.com"
DefaultBaseURL represents the API endpoint to call.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetRecords ¶
type DNSRecord ¶
type DNSRecord struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Data string `json:"data"` TTL int `json:"ttl,omitempty"` Priority int `json:"priority,omitempty"` Port int `json:"port,omitempty"` Protocol string `json:"protocol,omitempty"` Service string `json:"service,omitempty"` Weight int `json:"weight,omitempty"` }
DNSRecord a DNS record.
Click to show internal directories.
Click to hide internal directories.