Versions in this module Expand all Collapse all v0 v0.4.22 Apr 30, 2026 v0.4.21 Apr 8, 2026 v0.4.20 Mar 25, 2026 v0.4.19 Mar 17, 2026 v0.4.18 Mar 4, 2026 v0.4.17 Feb 9, 2026 v0.4.16 Feb 2, 2026 v0.4.15 Jan 26, 2026 Changes in this version + type AddRecordRequest struct + Data *string + Flags *int + Name *string + Port *int + Priority *int + Tag *string + Type *string + Weight *int + type AddRecordResponse DNSRecord + type Client struct + func NewClient(httpToken string) (*Client, error) + func (c *Client) AddRecord(zoneID int64, req *AddRecordRequest) (*AddRecordResponse, error) + func (c *Client) AddRecordWithContext(ctx context.Context, zoneID int64, req *AddRecordRequest) (*AddRecordResponse, error) + func (c *Client) DeleteRecord(zoneID int64, recordID int64) (*DeleteRecordResponse, error) + func (c *Client) DeleteRecordWithContext(ctx context.Context, zoneID int64, recordID int64) (*DeleteRecordResponse, error) + func (c *Client) ListRecords(zoneID int64) (*ListRecordsResponse, error) + func (c *Client) ListRecordsWithContext(ctx context.Context, zoneID int64) (*ListRecordsResponse, error) + func (c *Client) ListZones() (*ListZonesResponse, error) + func (c *Client) ListZonesWithContext(ctx context.Context) (*ListZonesResponse, error) + func (c *Client) SetTimeout(timeout time.Duration) *Client + type DNSRecord struct + Data string + ExpandedData string + Flags int + ID int64 + Name string + Port int + Priority int + Tag string + Type string + Weight int + ZoneID int64 + type DeleteRecordResponse DNSRecord + type ListRecordsResponse []*DNSRecord + type ListZonesResponse []*ZoneRecord + type ZoneRecord struct + CreatedAt string + ID int64 + IPv4Address string + IPv6Prefix string + Name string + UpdatedAt string