Documentation ¶
Index ¶
- Constants
- func New() interfaces.Updater
- type Cloudflare
- func (*Cloudflare) ConfigItems() echo.KVList
- func (*Cloudflare) Description() string
- func (cf *Cloudflare) Init(settings echo.H, domains []*dnsdomain.Domain) error
- func (*Cloudflare) LineTypeURL() string
- func (*Cloudflare) Name() string
- func (*Cloudflare) SignUpURL() string
- func (*Cloudflare) Support() dnsdomain.Support
- func (cf *Cloudflare) Update(ctx context.Context, recordType string, ipAddr string) error
- type CloudflareRecord
- type CloudflareRecordsResp
- type CloudflareStatus
- type CloudflareZonesResp
Constants ¶
View Source
const Name = `Cloudflare`
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() interfaces.Updater
Types ¶
type Cloudflare ¶
type Cloudflare struct { Domains []*dnsdomain.Domain TTL int // contains filtered or unexported fields }
Cloudflare Cloudflare实现
func (*Cloudflare) ConfigItems ¶
func (*Cloudflare) ConfigItems() echo.KVList
func (*Cloudflare) Description ¶
func (*Cloudflare) Description() string
func (*Cloudflare) LineTypeURL ¶
func (*Cloudflare) LineTypeURL() string
func (*Cloudflare) Name ¶
func (*Cloudflare) Name() string
func (*Cloudflare) SignUpURL ¶
func (*Cloudflare) SignUpURL() string
func (*Cloudflare) Support ¶ added in v3.6.1
func (*Cloudflare) Support() dnsdomain.Support
type CloudflareRecord ¶
type CloudflareRecord struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Content string `json:"content"` Proxied bool `json:"proxied"` TTL int `json:"ttl"` }
CloudflareRecord 记录实体
type CloudflareRecordsResp ¶
type CloudflareRecordsResp struct { CloudflareStatus Result []CloudflareRecord }
CloudflareRecordsResp records
type CloudflareStatus ¶
CloudflareStatus 公共状态
type CloudflareZonesResp ¶
type CloudflareZonesResp struct { CloudflareStatus Result []struct { ID string Name string Status string Paused bool } }
CloudflareZonesResp cloudflare zones返回结果
Click to show internal directories.
Click to hide internal directories.