add cloudflare and documentation
This commit is contained in:
@@ -7,6 +7,7 @@ type DNSProviderConfig struct {
|
||||
HuaweiCloud `json:"HuaweiCloud,omitempty"`
|
||||
WestCN `json:"WestCN,omitempty"`
|
||||
RainYun `json:"RainYun,omitempty"`
|
||||
Cloudflare `json:"Cloudflare,omitempty"`
|
||||
Dode `json:"Dode,omitempty"`
|
||||
}
|
||||
|
||||
@@ -40,3 +41,9 @@ type RainYun struct {
|
||||
type Dode struct {
|
||||
Token string `json:"Token,omitempty"`
|
||||
}
|
||||
|
||||
type Cloudflare struct {
|
||||
APIToken string `json:"APIToken,omitempty"`
|
||||
APIKey string `json:"APIKey,omitempty"`
|
||||
Email string `json:"Email,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user