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

Struct DefaultKeyedAggregator

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

DefaultKeyedAggregator reassembles replies in the exact key order of the original request.

Source from the content-addressed store, hash-verified

764
765// DefaultKeyedAggregator reassembles replies in the exact key order of the original request.
766type DefaultKeyedAggregator struct {
767 mu sync.Mutex
768 results map[string]interface{}
769 keyOrder []string
770 firstErr error
771}
772
773func NewDefaultKeyedAggregator(keyOrder []string) *DefaultKeyedAggregator {
774 return &DefaultKeyedAggregator{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected