Documentation
¶
Overview ¶
Package mobile contains a simple mobile API for github.com/AdguardTeam/dnsproxy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Verbose bool // true if verbose output is enabled
LogOutput string // Path to the log file
ListenAddr string // IP address to listen to
ListenPort int // Port to listen to
BootstrapDNS string // Bootstrap DNS (i.e. 8.8.8.8:53)
Fallback string // Fallback resolver that will be used if the main one is not available (i.e. 1.1.1.1:53)
Upstreams string // A list of upstream resolvers (each on a new line)
Timeout int // Default timeout for all resolvers (milliseconds)
}
Config is the DNS proxy configuration which uses only the subset of types that is supported by gomobile
Click to show internal directories.
Click to hide internal directories.