package
1.15.0
Repository: https://github.com/favonia/cloudflare-ddns.git
Documentation: pkg.go.dev

# Constants

FinalDeletionMode disables re-reading when an error occurs.
RegularDelitionMode enables re-reading when an error occurs.
TTLAuto represents the "auto" value for Cloudflare servers.

# Variables

WAFListMaxBitLen records the maximum number of bits of an IP range/address Cloudflare can support in a WAF list.

# Structs

A CloudflareAuth implements the [Auth] interface, holding the authentication data to create a [CloudflareHandle].
CloudflareCache holds the previous repsonses from the Cloudflare API.
A CloudflareHandle implements the [Handle] interface with the Cloudflare API.
Record bundles an ID and an IP address, representing a DNS record.
WAFList represents a WAF list to update.
WAFListItem bundles an ID and an IP range, representing an item in a WAF list.
WAFListMeta contains the metadata of a list.

# Interfaces

An Auth contains authentication information.
A Handle represents a generic API to update DNS records and WAF lists.

# Type aliases

DeletionMode tells the deletion updater whether a careful re-reading of lists must be enforced if an error happens.
ID is a new type representing identifiers to avoid programming mistakes.
A TTL represents a time-to-live value of a DNS record.