Versions in this module Expand all Collapse all v0 v0.0.1 Oct 18, 2022 Changes in this version + type ConcurrentShardedCounts struct + func NewConcurrentShardedCounts() *ConcurrentShardedCounts + func (counts *ConcurrentShardedCounts) GetTotal() int64 + func (counts *ConcurrentShardedCounts) IsInterfaceNil() bool + func (counts *ConcurrentShardedCounts) PutCounts(shardName string, value int64) + func (counts *ConcurrentShardedCounts) String() string + type ConcurrentShardedCountsWithSize struct + func NewConcurrentShardedCountsWithSize() *ConcurrentShardedCountsWithSize + func (counts *ConcurrentShardedCountsWithSize) GetTotal() int64 + func (counts *ConcurrentShardedCountsWithSize) GetTotalSize() int64 + func (counts *ConcurrentShardedCountsWithSize) IsInterfaceNil() bool + func (counts *ConcurrentShardedCountsWithSize) PutCounts(shardName string, counter int64, sizeInBytes int64) + func (counts *ConcurrentShardedCountsWithSize) String() string + type Counts interface + GetTotal func() int64 + IsInterfaceNil func() bool + String func() string + type CountsWithSize interface + GetTotalSize func() int64 + type NullCounts struct + func (counts *NullCounts) GetTotal() int64 + func (counts *NullCounts) GetTotalSize() int64 + func (counts *NullCounts) IsInterfaceNil() bool + func (counts *NullCounts) String() string