Documentation ¶
Index ¶
- func HmacSign(signMethod string, httpMethod string, appKeySecret string, vals url.Values) (signature []byte)
- func HmacSignToB64(signMethod string, httpMethod string, appKeySecret string, vals url.Values) (signature string)
- type Alidns
- type AlidnsRecord
- type AlidnsResp
- type AlidnsSubDomainRecords
- type Cloudflare
- type CloudflareRecord
- type CloudflareRecordsResp
- type CloudflareStatus
- type CloudflareZonesResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alidns ¶
https://help.aliyun.com/document_detail/29776.html?spm=a2c4g.11186623.6.672.715a45caji9dMA Alidns Alidns
func (*Alidns) UpsertDomainRecords ¶
func (ali *Alidns) UpsertDomainRecords()
type AlidnsRecord ¶
AlidnsRecord record
type AlidnsSubDomainRecords ¶
type AlidnsSubDomainRecords struct { TotalCount int DomainRecords struct { Record []AlidnsRecord } }
AlidnsSubDomainRecords 记录
type Cloudflare ¶
Cloudflare Cloudflare实现
func (*Cloudflare) UpsertDomainRecords ¶
func (cf *Cloudflare) UpsertDomainRecords()
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 `json:"result"` }
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.