httpclient

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilResponse = errors.New("empty response, check your proxy configuration")
View Source
var ErrNon200Response = errors.New("API responded with non-200 status code")

Functions

func MakeRequest

func MakeRequest(c *fasthttp.Client, url string, maxRetries int, headers ...Header) ([]byte, error)

Types

type Header struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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