Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorInvalidURL = errors.New("url is invalid") ErrorReadingRespBody = errors.New("error reading response body") ErrorRequestFailed = errors.New("error making request") ErrorRequestBodyInvalid = errors.New("failed to convert request body data to JSON") DefaultTimeout time.Duration //nolint:gochecknoglobals // ok Post = "POST" //nolint:gochecknoglobals // ok Delete = "DELETE" //nolint:gochecknoglobals // ok Get = "GET" //nolint:gochecknoglobals // ok )
Functions ¶
This section is empty.
Types ¶
type Header ¶
Header is a type used to store header field name/value pairs when sending HTTPS requests.
Click to show internal directories.
Click to hide internal directories.