Versions in this module Expand all Collapse all v1 v1.0.6 May 5, 2023 Changes in this version + func OAuthStaticAccessToken(client *http.Client, accessToken string) *http.Client v1.0.5 Dec 30, 2021 Changes in this version + type APIError struct + Errors map[string]interface{} + Message string + StatusCode int + func (a APIError) Error() string + type Client struct + HTTPClient *http.Client + func NewClient(apiKey string) *Client + func (c Client) AddRecord(zoneID string, record Record) (*Record, error) + func (c Client) DeleteRecord(zoneID, recordID string) error + func (c Client) GetRecords(zoneID, recordType string) ([]Record, error) + func (c Client) GetZone(zoneID string) (*Zone, error) + func (c Client) GetZones(query string, limit, offset int) ([]Zone, error) + type Record struct + Comment string + ID int + Name string + TTL int + Text string + Type string + Zone string + type Zone struct + Dnssec bool + DnssecEmail string + Email string + ID int + Name string + Nameserver string + TTL int