Documentation ¶
Index ¶
Constants ¶
View Source
const ( Success ResultType = 0 Timeout = 1 Error = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsQuery ¶
type DnsQuery struct { // Domains or subdomains to query Domains []string // Network protocol name Network string // Server to query Servers []string // Record type RecordType string `toml:"record_type"` // DNS server port number Port int // Dns query timeout in seconds. 0 means no timeout Timeout int }
func (*DnsQuery) Description ¶
func (*DnsQuery) SampleConfig ¶
type ResultType ¶
type ResultType uint64
Click to show internal directories.
Click to hide internal directories.