Versions in this module Expand all Collapse all v1 v1.0.0 Feb 1, 2026 Changes in this version + type FastClient struct + func NewFastClient(config FastClientConfig) *FastClient + func (fc *FastClient) Close() + func (fc *FastClient) Get(ctx context.Context, targetURL string) (*FastResult, error) + func (fc *FastClient) GetBatch(ctx context.Context, urls []string, concurrency int) []*FastResult + func (fc *FastClient) GetWithRetry(ctx context.Context, targetURL string) (*FastResult, error) + func (fc *FastClient) Head(ctx context.Context, targetURL string) (int, string, error) + func (fc *FastClient) IsRetryableError(err error) bool + func (fc *FastClient) SetCookies(cookies []*http.Cookie) + func (fc *FastClient) SetHeaders(headers map[string]string) + func (fc *FastClient) SetRetryConfig(config errors.RetryConfig) + type FastClientConfig struct + Headers map[string]string + MaxConnsPerHost int + MaxIdleConns int + MaxIdleConnsPerHost int + SkipTLSVerify bool + Timeout time.Duration + UserAgent string + func DefaultFastClientConfig() FastClientConfig + type FastForm struct + Action string + Inputs []string + Method string + type FastResult struct + ContentType string + Duration time.Duration + Error error + FinalURL string + Forms []FastForm + HTML string + Links []string + Scripts []string + StatusCode int + Title string + URL string