Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type Client struct + HTTPClient *http.Client + func NewClient(accountName string, apiKey string) (*Client, error) + func (c *Client) AddRecord(ctx context.Context, zoneName string, record Record) (int64, error) + func (c *Client) DeleteRecord(ctx context.Context, zoneName string, id int64) error + func (c *Client) EditRecord(ctx context.Context, zoneName string, id int64, record Record) error + func (c *Client) GetRecords(ctx context.Context, zoneName string) ([]Record, error) + type Record struct + Data string + ID int64 + Name string + Priority int + TTL int + Type string + type Response interface + GetMessage func() string + GetStatus func() int