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

Method Add

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

Add processes a single shard response.

(result interface{}, err error)

Source from the content-addressed store, hash-verified

23type ResponseAggregator interface {
24 // Add processes a single shard response.
25 Add(result interface{}, err error) error
26
27 // AddWithKey processes a single shard response for a specific key (used by keyed aggregators).
28 AddWithKey(key string, result interface{}, err error) error

Implementers 10

AllSucceededAggregatorinternal/routing/aggregator.go
OneSucceededAggregatorinternal/routing/aggregator.go
AggSumAggregatorinternal/routing/aggregator.go
AggMinAggregatorinternal/routing/aggregator.go
AggMaxAggregatorinternal/routing/aggregator.go
AggLogicalAndAggregatorinternal/routing/aggregator.go
AggLogicalOrAggregatorinternal/routing/aggregator.go
DefaultKeylessAggregatorinternal/routing/aggregator.go
DefaultKeyedAggregatorinternal/routing/aggregator.go
SpecialAggregatorinternal/routing/aggregator.go

Calls

no outgoing calls