Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxySocks5Conf ¶
type ProxySocks5Conf struct { Address string `json:"address"` ProxyType string `json:"proxyType"` Latency float64 `json:"latency"` LastCheckLatency time.Time `json:"lastCheckLatency"` CountryIsoCode string `json:"countryIsoCode"` // contains filtered or unexported fields }
ProxySocks5Conf represent config to proxy
func GetProxiesListSpysOne ¶
func GetProxiesListSpysOne(countryISO string) (proxylist []ProxySocks5Conf, err error)
GetProxiesListSpysOne get proxy list from http://spys.one/en/socks-proxy-list/
func (*ProxySocks5Conf) CheckLatency ¶
func (pc *ProxySocks5Conf) CheckLatency() (float64, error)
func (*ProxySocks5Conf) GetDialer ¶
func (pc *ProxySocks5Conf) GetDialer() (Dialer, error)
func (*ProxySocks5Conf) IsContry ¶
func (pc *ProxySocks5Conf) IsContry() bool
IsContry check if country and latency is finded
Click to show internal directories.
Click to hide internal directories.