Versions in this module Expand all Collapse all v1 v1.0.0 Jul 4, 2024 Changes in this version + type ApiListParams struct + Name string + Page int + PerPage int + Type string + Zone string + type ApiListRes struct + Result []Record + ResultInfo ResultInfo + type CreateParams struct + Content string + Name string + Proxied bool + TTL int + Type string + Zone string + type DnsCloudFlare struct + func New() *DnsCloudFlare + func (cf *DnsCloudFlare) AddRecord(params dns.AddRecordParams) error + func (cf *DnsCloudFlare) DelRecord(params dns.DelRecordParams) error + func (cf *DnsCloudFlare) EditRecord(params dns.EditRecordParams) error + func (cf *DnsCloudFlare) ListAllRecords(domain string) ([]dns.Record, error) + func (cf *DnsCloudFlare) ListMainDomains() ([]string, error) + func (cf *DnsCloudFlare) QueryRecords(params dns.QueryRecordParams) ([]dns.Record, error) + type Record struct + Content string + ID string + Name string + TTL int + Type string + type ResultInfo struct + Count int + Page int + PerPage int + TotalCount int + type UpdateParams struct + Content string + Name string + Proxied bool + RecordID string + TTL int + Type string + Zone string