Versions in this module Expand all Collapse all v4 v4.15.1 Feb 17, 2024 Changes in this version + type APIResponse struct + Code int + Message string + Status string + TransactID string + func (a APIResponse) Error() string + type Client struct + HTTPClient *http.Client + func NewClient(apiKey string, password string) *Client + func (c Client) AddRecord(ctx context.Context, query RecordQuery) error + func (c Client) ListRecords(ctx context.Context, query ListRecordQuery) ([]Record, error) + func (c Client) RemoveRecord(ctx context.Context, query RecordQuery) error + type ListRecordQuery struct + Domain string + FilterType string + type ListResponse struct + Records []Record + TotalRecords int + type Record struct + Name string + TTL int + Type string + Value string + type RecordQuery struct + FullRecordName string + TTL int + Type string + Value string