# Functions
NewAPIRequest creates an API request with the result mapped to the R type.
NewHTTPRequest creates immutable HTTP request.
NewNoOperationAPIRequest returns an APIRequest that immediately returns a Result without calling any HTTPRequest.
No description provided by the author
NewRunGroup creates a new RunGroup.
NewWaitGroup creates new WaitGroup.
NewWaitGroupWithLimit creates new WaitGroup with given concurrent requests limit.
Parallel wraps parallel requests to one Sendable interface.
RunGroupWithLimit creates a new RunGroup with given concurrent requests limit.
StructToMap converts a struct to values map.
ToFormBody converts a JSON like map to form body map, any type is mapped to string.
# Constants
No description provided by the author
RunGroupConcurrencyLimit is the maximum number of concurrent requests in one RunGroup.
WaitGroupConcurrencyLimit is the maximum number of concurrent requests in one WaitGroup.
# Structs
NoResult type.
ReqDefinitionError can be used as the Sendable interface.
RunGroup allows scheduling requests by Add method and then send them concurrently by the RunAndWait method.
WaitGroup allows sending requests concurrently using Send method and wait until all requests are completed using the Wait method.
# Interfaces
APIRequest with response mapped to the generic type R.
HTTPRequest is an immutable HTTP request.
HTTPResponse with response mapped to the Result() value.
Sendable is HTTPRequest or APIRequest.
Sender represents an HTTP client, the client.Client is a default implementation using the standard net/http package.