Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type APIError struct + Code int + Message string + Status string + func (a APIError) Error() string + type AddRecord struct + Code int + Error string + Record string + Response AddRecordResponse + Status string + type AddRecordResponse struct + Signed []int + ZoneType []string + type Client struct + HTTPClient *http.Client + func NewClient(apiUsername, apiKey string) (*Client, error) + func (c *Client) AddRecord(ctx context.Context, domainName, account, newRecordID string, record Record) (*AddRecord, error) + func (c *Client) DeleteRecord(ctx context.Context, domainName, account, dnsRecord, recordID string) error + func (c *Client) ListRecords(ctx context.Context, account, dnsZone string) (*ListRecordsResponse, error) + func (c *Client) StatusDomain(ctx context.Context, domain string) (*StatusResponse, error) + type ListRecordsResponse struct + Column []string + Count []int + First []int + Last []int + Limit []int + RR []string + Total []int + type Record struct + Content string + ID int + Name string + TTL int + Type string + type Response struct + Code int + Error string + Response T + Status string + type StatusResponse struct + AdminContact []string + Auth []string + BillingContact []string + CreatedBy []string + CreatedDate []string + Domain []string + DomainIDN []string + Nameserver []string + OwnerContact []string + PaidUntilDate []string + Registrar []string + RegistrarTransferDate []string + RegistrationExpirationDate []string + RenewalDate []string + RenewalMode []string + RoID []string + Status []string + TechContact []string + TransferLock []int + TransferMode []string + UpdatedBy []string + UpdatedDate []string + XDomainRoID []string + Zone []string