MCPcopy
hub / github.com/favonia/cloudflare-ddns

github.com/favonia/cloudflare-ddns @v1.16.2 sqlite

repository ↗ · DeepWiki ↗ · release v1.16.2 ↗
1,489 symbols 6,610 edges 211 files 727 documented · 49%

Extension points exported contracts — how you extend this code

Provider (Interface)
Provider is the abstraction of a protocol to detect public IP addresses. [10 implementers]
internal/provider/base.go
BasicHeartbeat (Interface)
BasicHeartbeat is a dead man's switch, meaning that the user will be notified when the updater fails to detect and updat [6 …
internal/heartbeat/base.go
PP (Interface)
PP is the abstraction of a pretty printer. [4 implementers]
internal/pp/base.go
RawIPRejecter (Interface)
RawIPRejecter validates a detected raw IP address (before normalization). If the IP should be rejected, RejectRawIP retu [3 …
internal/ipnet/cloudflare_ranges.go
Setter (Interface)
Setter uses [api.Handle] to reconcile DNS records and WAF lists. [3 implementers]
internal/setter/base.go
Handle (Interface)
A Handle represents a generic API to update DNS records and WAF lists. Currently, the only implementation is Cloudflare. [3 …
internal/api/base.go
Notifier (Interface)
go:generate go tool mockgen -typed -destination=../mocks/mock_notifier.go -package=mocks . Notifier Notifier is an abstr [3 …
internal/notifier/base.go
Domain (Interface)
A Domain represents a domain name to update.
internal/domain/base.go

Core symbols most depended-on inside this repo

EXPECT
called by 924
internal/mocks/mock_pp.go
Noticef
called by 712
internal/pp/base.go
Return
called by 246
internal/mocks/mock_pp.go
Infof
called by 207
internal/pp/base.go
NewMockPP
called by 114
internal/mocks/mock_pp.go
Describe
called by 104
internal/domain/base.go
String
called by 72
internal/api/base.go
Indent
called by 54
internal/pp/base.go

Shape

Function 902
Method 382
Struct 170
TypeAlias 21
Interface 11
FuncType 3

Languages

Go100%

Modules by API surface

internal/mocks/mock_pp.go52 symbols
internal/mocks/mock_api.go52 symbols
internal/mocks/mock_heartbeat.go50 symbols
scripts/github-actions/cloudflare-token-verify-watch/main.go37 symbols
scripts/github-actions/cloudflare-doc-watch/main.go37 symbols
internal/setter/test_helpers_test.go31 symbols
internal/mocks/mock_setter.go28 symbols
internal/api/cloudflare_helpers_test.go26 symbols
internal/provider/protocol/local_auto_internal_test.go25 symbols
internal/api/cloudflare_waf.go24 symbols
internal/api/base.go24 symbols
internal/mocks/mock_provider.go22 symbols

Dependencies from manifests, versioned

github.com/cloudflare/cloudflare-gov0.116.0 · 1×
github.com/containrrr/shoutrrrv0.8.0 · 1×
github.com/google/go-querystringv1.2.0 · 1×
github.com/hashicorp/go-cleanhttpv0.5.2 · 1×
github.com/jellydator/ttlcache/v3v3.4.0 · 1×
github.com/mattn/go-colorablev0.1.13 · 1×
github.com/mattn/go-isattyv0.0.20 · 1×
github.com/pmezard/go-difflibv1.0.0 · 1×

For agents

$ claude mcp add cloudflare-ddns \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact