Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_UINT_32 uint32 = 4294967295
View Source
const Version = "v0.6.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByValue ¶ added in v0.1.0
type ByValue struct{ NamespaceEntries }
type DNSRCodeError ¶ added in v0.6.0
type DNSRCodeError struct { DNSRCode DNSRCode `json:"dnsrcode"` Code string `json:"code"` Name string `json:"error"` Domain string `json:"domain"` }
func NewDNSRCodeError ¶ added in v0.6.0
func NewDNSRCodeError(dnsrcode int, domain string) DNSRCodeError
func (DNSRCodeError) Error ¶ added in v0.6.0
func (e DNSRCodeError) Error() string
type LogStatement ¶
func (*LogStatement) Error ¶ added in v0.1.0
func (l *LogStatement) Error() string
func (*LogStatement) MarshalJSON ¶
func (stmt *LogStatement) MarshalJSON() ([]byte, error)
type LookupEntry ¶ added in v0.1.0
type LookupTXTFunc ¶
type LookupTXTFunc func(name string) (txt []LookupEntry, err error)
func NewUDPLookup ¶ added in v0.1.0
func NewUDPLookup(servers []string, udpSize uint16) LookupTXTFunc
type NamespaceEntries ¶ added in v0.5.0
type NamespaceEntries []NamespaceEntry
func (NamespaceEntries) Len ¶ added in v0.5.0
func (l NamespaceEntries) Len() int
func (NamespaceEntries) Swap ¶ added in v0.5.0
func (l NamespaceEntries) Swap(i, j int)
type NamespaceEntry ¶ added in v0.5.0
type Resolver ¶
type Resolver struct {
LookupTXT LookupTXTFunc
}
type Result ¶
type Result struct { TxtEntries []TxtEntry `json:"txtEntries"` Links map[string]NamespaceEntries `json:"links"` Log []LogStatement `json:"log"` }
func (*Result) NoTtl ¶ added in v0.6.0
func (result *Result) NoTtl() ResultNoTtl
type ResultNoTtl ¶ added in v0.6.0
type ResultNoTtl struct { TxtEntries []string `json:"txtEntries"` Links map[string][]string `json:"links"` Log []LogStatement `json:"log"` }
Click to show internal directories.
Click to hide internal directories.