Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "dnstun"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ListenAddr string `yaml:"on"` Proxy chrome.Proxy `yaml:"over"` Server DNServer Servers []DNServer Routes []RouteOptions Redirects map[string]string Cache bool IPv4 struct { Only bool } Dial chrome.DialOptions TTL struct { Min, Max time.Duration } Idle struct { Timeout time.Duration } Read struct { Timeout time.Duration } Write struct { Timeout time.Duration } // contains filtered or unexported fields }
type RouteOptions ¶
Click to show internal directories.
Click to hide internal directories.