client

package
v0.0.0-...-b197d6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrRequestRedundant this error is returned when trying to perform the
	// same request (method, host, path) more than one time.
	ErrRequestRedundant = errors.New("this request has been made already")
)

Functions

func NewClientFromConfig

func NewClientFromConfig(
	timeoutInMilliseconds int,
	socks5Url *url.URL,
	userAgent string,
	useCookieJar bool,
	cookies []*http.Cookie,
	headers map[string]string,
	shouldCacheRequests bool,
	shouldSkipSSLCertificatesValidation bool,
	u *url.URL,
) (*http.Client, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL