Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + const DefaultProdBaseURL + const DefaultSandboxBaseURL + type Client struct + BaseURL *url.URL + HTTPClient *http.Client + func NewClient(apiKey, apiSecret string) (*Client, error) + func (c *Client) CreateRecord(ctx context.Context, domain *Domain, record *Record) error + func (c *Client) DeleteRecord(ctx context.Context, record Record) error + func (c *Client) GetDomain(ctx context.Context, authZone string) (*Domain, error) + func (c *Client) GetRecords(ctx context.Context, domain *Domain, recordName, recordType string) (*[]Record, error) + type Domain struct + ID int + Name string + type Record struct + ID int + Name string + SourceID int + TTL int + Type string + Value string Other modules containing this package github.com/alekseiops/lego