Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Result = make(map[int]int)
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
Id int
Username string
Password string
Scheme string
Host string
Port int
Weight float32
}
A proxy representation
type ProxyRoulette ¶
type ProxyRoulette struct {
Step float32
Proxies []*Proxy
// contains filtered or unexported fields
}
func (*ProxyRoulette) Select ¶
func (pr *ProxyRoulette) Select() (*Proxy, error)
Roulette-wheel selection via stochastic acceptance
type ProxyRoundTripper ¶
type ProxyRoundTripper struct {
ProxySelector
Tr *http.Transport
}
The proxy round tripper
Click to show internal directories.
Click to hide internal directories.