Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type APIError struct + Error ErrorContent + type Auth struct + AccessToken string + RefreshToken string + type AuthResponse struct + Auth Auth + type Authorization struct + Email string + Password string + type Client struct + HTTPClient *http.Client + func NewClient(clientID, email, password string, ttl int) *Client + func (c *Client) AddRecord(ctx context.Context, zone, recordName, recordValue string) error + func (c *Client) CreateAuthenticatedContext(ctx context.Context) (context.Context, error) + func (c *Client) DeleteRecord(ctx context.Context, zone, recordName string) error + type Domain struct + DomainName string + ID string + Status string + type DomainInfo struct + DomainName string + ID string + LastDomainRecordList []Record + SoaTTL int + Status string + type ErrorContent struct + Code int + Message string + func (e ErrorContent) Error() string + type Record struct + DomainID string + ID string + Name string + Type string + Value string + type Search struct + Name string + Operator string + Type string + Value string + type SearchQuery struct + Limit int + Offset int + Search []Search + Sort []Sort + type SearchResponse struct + Items []Domain + Limit int + Offset int + TotalHits int + type Sort struct + Ascending bool + Name string