Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + func OAuthStaticAccessToken(client *http.Client, accessToken string) *http.Client + type APIError struct + Code string + Message string + func (a APIError) Error() string + type APIErrorResponse struct + Error *APIError + type Client struct + func NewClient(hc *http.Client, teamID string) *Client + func (c *Client) CreateRecord(ctx context.Context, zone string, record Record) (*CreateRecordResponse, error) + func (c *Client) DeleteRecord(ctx context.Context, zone string, recordID string) error + type CreateRecordResponse struct + UID string + Updated int + type Record struct + ID string + Name string + Slug string + TTL int + Type string + Value string