Documentation
¶
Index ¶
- type ApiListParams
- type ApiListRes
- type CreateParams
- type DnsCloudFlare
- func (cf *DnsCloudFlare) AddRecord(params dns.AddRecordParams) error
- func (cf *DnsCloudFlare) DelRecord(params dns.DelRecordParams) error
- func (cf *DnsCloudFlare) EditRecord(params dns.EditRecordParams) error
- func (cf *DnsCloudFlare) ListAllRecords(domain string) ([]dns.Record, error)
- func (cf *DnsCloudFlare) ListMainDomains() ([]string, error)
- func (cf *DnsCloudFlare) QueryRecords(params dns.QueryRecordParams) ([]dns.Record, error)
- type Record
- type ResultInfo
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiListParams ¶
type ApiListRes ¶
type ApiListRes struct { Result []Record ResultInfo ResultInfo `json:"result_info"` }
type CreateParams ¶
type DnsCloudFlare ¶
type DnsCloudFlare struct {
// contains filtered or unexported fields
}
func New ¶
func New() *DnsCloudFlare
func (*DnsCloudFlare) AddRecord ¶
func (cf *DnsCloudFlare) AddRecord(params dns.AddRecordParams) error
func (*DnsCloudFlare) DelRecord ¶
func (cf *DnsCloudFlare) DelRecord(params dns.DelRecordParams) error
func (*DnsCloudFlare) EditRecord ¶
func (cf *DnsCloudFlare) EditRecord(params dns.EditRecordParams) error
func (*DnsCloudFlare) ListAllRecords ¶
func (cf *DnsCloudFlare) ListAllRecords(domain string) ([]dns.Record, error)
func (*DnsCloudFlare) ListMainDomains ¶
func (cf *DnsCloudFlare) ListMainDomains() ([]string, error)
func (*DnsCloudFlare) QueryRecords ¶
func (cf *DnsCloudFlare) QueryRecords(params dns.QueryRecordParams) ([]dns.Record, error)
type ResultInfo ¶
Click to show internal directories.
Click to hide internal directories.