# Functions
GetJSON sends a GET request and reads a JSON response.
GetRaw sends a GET request and reads a raw response.
GetXML sends a GET request and reads an XML response.
NewEndpoint constructs a new [*Endpoint] instance using the given URL.
NewEndpointFromModelOOAPIServices constructs new [*Endpoint] instances from the given [model.OOAPIService] instances, assigning the host header if "cloudfront", and skipping all the entries that are neither "https" not "cloudfront".
NewOverlappedGetJSON constructs a [*Overlapped] for calling [GetJSON] with multiple URLs.
NewOverlappedGetRaw constructs a [*Overlapped] for calling [GetRaw] with multiple URLs.
NewOverlappedGetXML constructs a [*Overlapped] for calling [GetXML] with multiple URLs.
NewOverlappedPostJSON constructs a [*Overlapped] for calling [PostJSON] with multiple URLs.
NilSafetyAvoidNilBytesSlice replaces a nil bytes slice with an empty slice.
NilSafetyErrorIfNil returns [ErrIsNil] iff input is a nil map, struct, or slice.
OverlappedIgnoreIndex is a filter that removes the index from [*Overlapped.Run] results.
OverlappedReduce takes the results of [*Overlapped.Map] and returns either an Output or an error.
PostJSON sends a POST request with a JSON body and reads a JSON response.
# Constants
DefaultMaxResponseBodySize is the default maximum response body size.
OverlappedDefaultScheduleInterval is the default schedule interval.
OverlappedDefaultWatchdogTimeout is the timeout after which we assume all the API calls have gone rogue and forcibly interrupt all of them.
# Variables
ErrGenericOverlappedFailure indicates that a generic [*Overlapped] failure occurred.
ErrIsNil indicates that [NilSafetyErrorIfNil] was passed a nil value.
ErrTruncated indicates we truncated the response body.
# Structs
Config contains configuration shared by [GetJSON], [GetXML], [GetRaw], and [PostJSON].
Endpoint is an HTTP endpoint.
ErrRequestFailed indicates that an HTTP request status indicates failure.
Overlapped represents the possibility of overlapping HTTP calls for a set of functionally equivalent URLs, such that we start a new call if the previous one has failed to produce a result within the configured ScheduleInterval.
OverlappedErrorOr combines error information, result information and the endpoint index.