Documentation ¶
Index ¶
- Variables
- type ApiEntry
- type Card
- type Pool
- func (pool *Pool) Add(ctx context.Context, proxy pmux.Proxy, speed time.Duration)
- func (pool *Pool) HttpGet(r *http.Request) (any, 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, httpClient) 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 ¶
Click to show internal directories.
Click to hide internal directories.