Documentation ¶ Index ¶ Variables func MakeRequest(c *fasthttp.Client, url string, maxRetries uint, timeout uint, ...) ([]byte, error) type Header Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNilResponse = errors.New("unexpected nil response") ErrNon200Response = errors.New("API responded with non-200 status code") ErrBadRequest = errors.New("API responded with 400 status code") ) Functions ¶ func MakeRequest ¶ func MakeRequest(c *fasthttp.Client, url string, maxRetries uint, timeout uint, headers ...Header) ([]byte, error) Types ¶ type Header ¶ type Header struct { Key string Value string } Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.