Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookUpOptions ¶
type LookUpOptions struct {
Typ int
}
LookUpOptions is a set of options for LookUp
type Options ¶
type Options struct { // Servers is a list of DNS servers to use. // Support // 1. PLAIN DNS - 8.8.8.8:53 or udp://dns.adguard.com for plain DNS; // 2. PLAIN DNS-over-TCP - tcp://8.8.8.8:53 for plain DNS-over-TCP; // 3. DNS-over-TLS - tls://1.1.1.1 for DNS-over-TLS; // 4. DNS-over-HTTPS - https://dns.adguard.com/dns-query for DNS-over-HTTPS; // 5. DNSCRYPT - sdns://... for DNS stamp, see https://dnscrypt.info/stamps-specifications. Servers []string // Timeout is the maximum duration to wait for a response from a server. // default: 5 seconds Timeout time.Duration }
Options is a set of options for Client
Click to show internal directories.
Click to hide internal directories.