Documentation ¶
Index ¶
- Variables
- type Card
- type Pool
- func (pool *Pool) Add(ctx context.Context, proxy pmux.Proxy, speed time.Duration)
- func (pool *Pool) HttpGet(r *http.Request) (interface{}, error)
- func (pool *Pool) Len() (res int)
- func (pool *Pool) MarshalBinary() ([]byte, error)
- func (pool *Pool) RandomFast(ctx context.Context) context.Context
- func (pool *Pool) Remove(proxy pmux.Proxy) bool
- func (pool *Pool) RoundTrip(req *http.Request) (res *http.Response, err error)
- func (pool *Pool) Session(ctx context.Context, fn func(context.Context, *http.Client) error) error
- func (pool *Pool) Start(ctx app.Context)
- func (pool *Pool) UnmarshalBinary(data []byte) error
- type PoolStats
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoProxiesLeft = fmt.Errorf("no proxies left")
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct { Name string Value interface{} }
TODO: think of rather type Facet struct { Name, Field string; Values []string }
Click to show internal directories.
Click to hide internal directories.