feat: add safe multi-account routing and prepare public release

This commit is contained in:
Meghdad committed 2026-07-13 06:22:34 +03:30
1 parent eb115daf3b
commit e925ade94a
71 files changed
+2906 -120

No files matched your search

+8 -2
View File
@@ -40,7 +40,8 @@ type Options struct {
Now func() time.Time
}
// Client implements provider.CloudProvider.
// Client implements the mandatory provider contract and Cloudflare's optional
// batch, DNS-01 recovery, and edge-TLS capabilities.
type Client struct {
baseURL string
httpClient HTTPDoer
@@ -48,7 +49,12 @@ type Client struct {
now func() time.Time
}
var _ provider.CloudProvider = (*Client)(nil)
var (
_ provider.Provider = (*Client)(nil)
_ provider.DNSBatchService = (*Client)(nil)
_ provider.DNS01Reconciler = (*Client)(nil)
_ provider.EdgeTLSService = (*Client)(nil)
)
// New returns a production Cloudflare client.
func New() *Client {