AggSumAggregator sums numeric replies from all shards.
| 215 | |
| 216 | // AggSumAggregator sums numeric replies from all shards. |
| 217 | type AggSumAggregator struct { |
| 218 | err atomic.Value |
| 219 | res uberAtomic.Float64 |
| 220 | } |
| 221 | |
| 222 | func (a *AggSumAggregator) Add(result interface{}, err error) error { |
| 223 | if err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected