MCPcopy
hub / github.com/redis/go-redis / AggMinAggregator

Struct AggMinAggregator

internal/routing/aggregator.go:291–294  ·  view source on GitHub ↗

AggMinAggregator returns the minimum numeric value from all shards.

Source from the content-addressed store, hash-verified

289
290// AggMinAggregator returns the minimum numeric value from all shards.
291type AggMinAggregator struct {
292 err atomic.Value
293 res *util.AtomicMin
294}
295
296func (a *AggMinAggregator) Add(result interface{}, err error) error {
297 if err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected