Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoRequest ¶
func DoRequest(f RequestFunc) (*http.Response, []byte, error)
DoRequest sends HTTP requests and returns HTTP response
func DoRequestWithRetries ¶
func DoRequestWithRetries(f RequestFunc) (resp *http.Response, body []byte, err error)
DoRequestWithRetries sends HTTP requests and returns HTTP response; retries if needed
Types ¶
type RequestFunc ¶
Click to show internal directories.
Click to hide internal directories.