# Functions
DoRequests executes a list of requests in parallel.
NewResultsCache creates results cache from config.
# Structs
Defined here to prevent circular imports between logproto & queryrangebase.
Config is the config for the results cache.
RequestResponse contains a request response and the respective request that was used.
# Interfaces
Extractor is used by the cache to extract a subset of a response from a cache entry.
KeyGenerator generates cache keys.
ResponseMerger is used by middlewares making multiple requests to merge back all responses into a single one.
# Type aliases
ConstSplitter is a utility for using a constant split interval when determining cache keys.
ParallelismForReqFn returns the parallelism for a given request.
ShouldCacheReqFn checks whether the current request should go to cache or not.
ShouldCacheResFn checks whether the current response should go to cache or not.