Documentation
¶
Index ¶
- type AAAARecord
- type ARecord
- type AiDNS
- type CAARecord
- type CNAMERecord
- type Locker
- type MXRecord
- type NSRecord
- type Record
- func (rec *Record) AsAAAARecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsARecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsCAARecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsCNAMERecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsMXRecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsNSRecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsSOARecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsSRVRecord() (record dns.RR, extras []dns.RR, err error)
- func (rec *Record) AsTXTRecord() (record dns.RR, extras []dns.RR, err error)
- type RecordApi
- type RecordDelete
- type SOARecord
- type SRVRecord
- type TXTRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAAARecord ¶
type AiDNS ¶ added in v0.2.0
type AiDNS struct {
Next plugin.Handler
Dsn string
TablePrefix string
MaxLifetime time.Duration
MaxOpenConnections int
MaxIdleConnections int
Ttl uint32
HttpToken string
HttpAddr string
RedisURL string
RedisTTL time.Duration
// contains filtered or unexported fields
}
type CNAMERecord ¶
type CNAMERecord struct {
Host string `json:"host"`
}
type Locker ¶ added in v0.2.0
type Locker struct {
// contains filtered or unexported fields
}
type Record ¶
type Record struct {
Zone string `json:"zone"`
Name string `json:"name"`
RecordType string `json:"record_type"`
Ttl uint32 `json:"ttl"`
Content string `json:"content"`
// contains filtered or unexported fields
}
func (*Record) AsAAAARecord ¶
func (*Record) AsCAARecord ¶
func (*Record) AsCNAMERecord ¶
func (*Record) AsMXRecord ¶
func (*Record) AsNSRecord ¶
func (*Record) AsSOARecord ¶
func (*Record) AsSRVRecord ¶
type RecordDelete ¶
Click to show internal directories.
Click to hide internal directories.