Versions in this module Expand all Collapse all v0 v0.0.3 May 2, 2019 Changes in this version + type Metrics struct + ProxyCounter bool + RequestCounter bool + func (m Metrics) Expose() []*prometheus.CounterVec v0.0.2 Apr 28, 2019 Changes in this version + func ServeMetrics(port int) v0.0.1 Apr 28, 2019 Changes in this version + type Container struct + Proxy Proxy + type Provider struct + Data []Container + func NewProvider(key string) (Provider, error) + func (p Provider) Get(url string, header http.Header, o RetryOptions) (http.Response, error) + func (p Provider) NewClient(req *retryablehttp.Request, opts RetryOptions) (*retryablehttp.Client, error) + func (p Provider) RandProxy() Proxy + type Proxy struct + CityName string + CountryCode string + CountryName string + IP string + PanelPass string + PanelUser string + PortNum string + RegionName string + Status string + type RetryOptions struct + BackoffStepSecs int + Max int + WaitMaxSecs int + WaitMinSecs int