Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSQuery ¶ added in v0.0.12
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 ¶ added in v0.0.12
func (*DNSQuery) SampleConfig ¶ added in v0.0.12
type ResultType ¶
type ResultType uint64
const ( Success ResultType = 0 Timeout ResultType = 1 Error ResultType = 2 )
Click to show internal directories.
Click to hide internal directories.