Documentation ¶
Index ¶
- func AlwaysDirectLookup(domain string)
- func SetAclListPath(p string)
- func SetBaseDir(dir string)
- func SetChnDns(s string)
- func SetHostsPath(paths []string)
- func SetLocalPort(p int)
- func SetLoggerFunc(f func(f string, v ...interface{}))
- func ShouldDirectConnect(ip IPv4) bool
- func Start()
- func TryReplaceIP2Dom(orig socks.Addr) socks.Addr
- type IPv4
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlwaysDirectLookup ¶
func AlwaysDirectLookup(domain string)
func SetAclListPath ¶
func SetAclListPath(p string)
func SetBaseDir ¶
func SetBaseDir(dir string)
func SetHostsPath ¶
func SetHostsPath(paths []string)
func SetLocalPort ¶
func SetLocalPort(p int)
func SetLoggerFunc ¶
func SetLoggerFunc(f func(f string, v ...interface{}))
func ShouldDirectConnect ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.