Versions in this module Expand all Collapse all v0 v0.1.0 Dec 26, 2020 v0.0.1 Dec 26, 2020 Changes in this version + const APIHostTypeA + const APIHostTypeAAAA + const APIHostTypeALIAS + const APIHostTypeCAA + const APIHostTypeCNAME + const APIHostTypeFRAME + const APIHostTypeMX + const APIHostTypeMXE + const APIHostTypeNS + const APIHostTypeTXT + const APIHostTypeURL + const APIHostTypeURL301 + type APICommandResponse struct + GetHostsResult APIGetHostsResult + SetHostsResult APISetHostsResult + Type string + XMLName xml.Name + type APIError struct + Message string + Number int + type APIGetHostsRequest struct + SLD string + TLD string + type APIGetHostsResult struct + Domain string + Hosts []*APIHost + IsUsingOurDNS bool + XMLName xml.Name + type APIHost struct + Address string + Name string + TTL int + Type string + XMLName xml.Name + func (h *APIHost) MatchRecord(other libdns.Record) error + type APIResponse struct + CommandResponse APICommandResponse + Errors []APIError + RequestedCommand string + Status string + XMLName xml.Name + type APISetHostsRequest struct + Hosts []*APIHost + SLD string + TLD string + type APISetHostsResult struct + Domain string + IsSuccess bool + XMLName xml.Name + type Provider struct + APIKey string + APIUser string + Sandbox bool + func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error) + func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error) + func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record, error) + func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)