Documentation
¶
Index ¶
- type DomainResponse
- type DomainsResponse
- type Provider
- func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record, error)
- func (p *Provider) ListZones(ctx context.Context) ([]libdns.Zone, error)
- func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- type RecordResponse
- type RecordsResponse
- type SavedRecord
- type TimewebRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainResponse ¶ added in v1.1.1
type DomainsResponse ¶ added in v1.1.1
type DomainsResponse struct {
Meta struct {
Total int `json:"total"`
} `json:"meta"`
Domains []DomainResponse `json:"domains"`
}
type Provider ¶
func (*Provider) AppendRecords ¶
func (*Provider) DeleteRecords ¶
func (*Provider) GetRecords ¶
type RecordResponse ¶
type RecordsResponse ¶
type RecordsResponse struct {
Meta struct {
Total int `json:"total"`
} `json:"meta"`
DNSRecords []RecordResponse `json:"user_records,omitempty"`
}
type SavedRecord ¶
type SavedRecord struct {
DNSRecord RecordResponse `json:"dns_record"`
}
Click to show internal directories.
Click to hide internal directories.