Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2026 Changes in this version + func ForEach[T any](ctx context.Context, concurrency int, items []T, ...) + type Client struct + func New(opts Options) (*Client, error) + func (c *Client) Do(ctx context.Context, method, url string, body io.Reader) (*Response, error) + func (c *Client) DoWithHeaders(ctx context.Context, method, url string, body io.Reader, ...) (*Response, error) + func (c *Client) Get(ctx context.Context, url string) (*Response, error) + type Options struct + FollowRedirect bool + Headers map[string]string + Insecure bool + Proxy string + RandomizeUA bool + RatePerSecond float64 + Timeout time.Duration + UserAgent string + func DefaultOptions() Options + type Response struct + Body []byte + ContentType string + Header http.Header + Status int + URL string + func (r *Response) BodyString() string + func (r *Response) IsJSON() bool