Versions in this module Expand all Collapse all v1 v1.1.4 Dec 12, 2015 v1.1.3 Dec 10, 2015 v1.1.2 Dec 10, 2015 v1.1.1 Dec 10, 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 + UDP 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 + func (this *SocksConfig) UDPEnabled() bool