Versions in this module Expand all Collapse all v1 v1.0.6 May 5, 2023 Changes in this version + type BaseResponse struct + Error string + Success string + func (r BaseResponse) GetError() string + func (r BaseResponse) GetSuccess() string + type Response interface + GetError func() string + GetSuccess func() string v1.0.5 Dec 30, 2021 v1.0.4 Jun 3, 2021 Changes in this version + type AddResponse struct + Domain string + Error string + Record *Record + Success string + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(pddToken string) (*Client, error) + func (c *Client) AddRecord(data Record) (*Record, error) + func (c *Client) GetRecords(domain string) ([]Record, error) + func (c *Client) RemoveRecord(data Record) (int, error) + type ListResponse struct + Domain string + Error string + Records []Record + Success string + type Record struct + Content string + Domain string + FQDN string + ID int + SubDomain string + TTL int + Type string + type RemoveResponse struct + Domain string + Error string + RecordID int + Success string