Documentation
¶
Index ¶
Constants ¶
View Source
const ServiceName = "socks"
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"`
Conn chrome.ConnOptions
Relay chrome.RelayOptions
DNS struct {
Server DNServer
Servers []DNServer
Query struct {
Type chrome.StringList
}
TTL struct {
Min, Max time.Duration
}
Idle struct {
Timeout time.Duration
}
Read struct {
Timeout time.Duration
}
Write struct {
Timeout time.Duration
}
Proxy *chrome.Proxy `yaml:"over"`
}
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.