Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type Client ¶
type Client interface { ListZones(zoneName string) (int, ListZonesResponse, error) ListDNSRecords(zoneID string, name string) (int, ListDNSRecordsResponse, error) CreateDNSRecord(zoneID string, dnsRecord DNSRecord) (int, APIResponse, error) UpdateDNSRecord(zoneID string, dnsRecord DNSRecord) (int, APIResponse, error) }
type ListDNSRecordsResponse ¶
type ListDNSRecordsResponse struct { APIResponse Result []DNSRecord `json:"result"` }
type ListZonesResponse ¶
type ListZonesResponse struct { APIResponse Result []Zone `json:"result"` }
Click to show internal directories.
Click to hide internal directories.