Versions in this module Expand all Collapse all v0 v0.14.4 Nov 26, 2015 Changes in this version + const AuthMethodNoAuth + const AuthMethodUserPass + type IPAddress net.IP + func (this *IPAddress) UnmarshalJSON(data []byte) error + type SocksAccount struct + Password string + Username string + type SocksAccountMap map[string]string + func (this *SocksAccountMap) HasAccount(user, pass string) bool + func (this *SocksAccountMap) UnmarshalJSON(data []byte) error + type SocksConfig struct + Accounts SocksAccountMap + AuthMethod string + HostIP IPAddress + UDPEnabled bool + func (sc *SocksConfig) HasAccount(user, pass string) bool + func (sc *SocksConfig) IP() net.IP + func (sc *SocksConfig) IsNoAuth() bool + func (sc *SocksConfig) IsPassword() bool