Versions in this module Expand all Collapse all v2 v2.5.2 Apr 27, 2022 Changes in this version + var QueryParallelism = 100 + func DoParallelQueries(ctx context.Context, doSingleQuery DoSingleQuery, queries []index.Query, ...) error + func EnsureDirectory(dir string) error + func GetParallelChunks(ctx context.Context, maxParallel int, chunks []chunk.Chunk, ...) ([]chunk.Chunk, error) + func NewReadCloserWithContextCancelFunc(readCloser io.ReadCloser, cancel context.CancelFunc) io.ReadCloser + type DoSingleQuery func(context.Context, index.Query, index.QueryPagesCallback) error + type ReadCloserWithContextCancelFunc struct + func (r ReadCloserWithContextCancelFunc) Close() error