Versions in this module Expand all Collapse all v4 v4.9.11 Feb 21, 2023 Changes in this version + type APIError struct + Errors []ErrorItem + func (a APIError) Error() string + type Client struct + HTTPClient *http.Client + func NewClient(apiToken string) *Client + func (c Client) CreateDNSRecord(record DNSRecord) (*CreateDNSRecordResponse, error) + func (c Client) DeleteDNSRecord(id string) (*DeleteRecordResponse, error) + func (c Client) GetJob(id string) (*GetJobResponse, error) + type CreateDNSRecordRequest struct + Data Data + type CreateDNSRecordResponse struct + Data struct{ ... } + type DNSRecord struct + Data string + Domain string + Name string + RecordType string + TTL int + type Data struct + Attributes DNSRecord + Type string + type DeleteRecordResponse struct + Data struct{ ... } + type ErrorItem struct + ID string + Status string + Title string + type GetJobResponse struct + Data struct{ ... }