Versions in this module Expand all Collapse all v4 v4.14.4 Oct 15, 2023 v4.14.3 Oct 15, 2023 v4.8.2 Oct 15, 2023 Changes in this version + func OAuthStaticAccessToken(client *http.Client, accessToken string) *http.Client + type APIError struct + AddDomainMessage string + AddRecordMessage string + DelDomainMessage string + DelRecordMessage string + func (a APIError) Error() string + type APIResponse struct + Info string + Status string + type Client struct + HTTPClient *http.Client + func NewClient(hc *http.Client) *Client + func (c Client) AddRecord(ctx context.Context, domain, prefix, recordType, content string) error + func (c Client) DeleteRecord(ctx context.Context, domain, prefix, recordType, content string) error + func (c Client) GetDomains(ctx context.Context) (*Domains, error) + type Domains struct + APICall string + Subdomains map[string]Subdomain + type Record struct + Content string + LastUpdate string + Prefix string + RecordID int + RecordKey string + TTL int + Type string + type Subdomain struct + DomainUpdateHash string + Records []Record + Updates int + Wildcard int