Documentation
¶
Index ¶
Constants ¶
View Source
const DynamicRecords = -3
View Source
const StaticNsRecord = -2
View Source
const StaticSoaRecord = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNAME ¶
type CNAME struct {
Target string
}
func (CNAME) EncodeValue ¶
func (CNAME) MarshalJSON ¶
func (*CNAME) UnmarshalJSON ¶
type NS ¶
type NS struct {
Ns string
}
func (NS) EncodeValue ¶
func (NS) MarshalJSON ¶
func (*NS) UnmarshalJSON ¶
type Record ¶
type RecordValue ¶
type SOA ¶
type SOA struct {
Ns string `json:"ns"`
Mbox string `json:"mbox"`
Serial uint32 `json:"serial"`
Refresh uint32 `json:"refresh"`
Retry uint32 `json:"retry"`
Expire uint32 `json:"expire"`
Minttl uint32 `json:"minttl"`
}
func (SOA) EncodeValue ¶
type SRV ¶
type SRV struct {
Priority uint16 `json:"priority"`
Weight uint16 `json:"weight"`
Port uint16 `json:"port"`
Target string `json:"target"`
}
func (SRV) EncodeValue ¶
func (*SRV) UnmarshalJSON ¶
type TXT ¶
type TXT struct {
Value string
}
func (TXT) EncodeValue ¶
func (TXT) MarshalJSON ¶
func (*TXT) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.