Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type APIResponse struct + Details map[string][]string + Status string + func (a APIResponse) Error() string + type Client struct + HTTPClient *http.Client + func NewClient(apiKey string) *Client + func (c Client) AddRecord(ctx context.Context, domainID int, record Record) error + func (c Client) DeleteRecord(ctx context.Context, domainID, recordID int) error + func (c Client) GetDomains(ctx context.Context) ([]Domain, error) + func (c Client) GetRecords(ctx context.Context, domainID int) ([]Record, error) + func (c Client) UpdateRecord(ctx context.Context, domainID, recordID int, record Record) error + type Domain struct + Domain string + ID int + Status string + TLD string + UnicodeFqdn string + type DomainsResponse struct + Data []Domain + type NameserverRecordPayload struct + Data Record + type Record struct + Content string + ID int + Name string + TTL int + Type string + type RecordsResponse struct + Data []Record