Versions in this module Expand all Collapse all v0 v0.1.1 Aug 25, 2026 v0.1.0 Aug 23, 2026 Changes in this version + type APIError struct + ErrorMessage string + StatusCode int + StatusMessage string + func (e APIError) Error() string + type APIRecord struct + Contents []APIRecordContent + ID string + Name string + TTL int + Type string + func APIRecordContains(records []APIRecord, target APIRecord) (*APIRecord, bool) + func ToLiaraAPIRecord(r libdns.Record, zone string) (APIRecord, error) + func ToLiaraAPIRecords(records []libdns.Record, zone string) ([]APIRecord, error) + func (r APIRecord) ToLibdnsRRType(zone string) ([]libdns.Record, error) + type APIRecordContent struct + Host string + IP string + Port uint16 + Priority uint16 + Text string + Weight uint16 + func RemainingContent(existing []APIRecordContent, recordsToRemove []APIRecordContent) []APIRecordContent + type GetRecordsResponse struct + Data []APIRecord + Status string + type PostRecordResponse struct + Data APIRecord + Status string + type Provider struct + APIToken string + 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)