Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatsObject ¶
type MockStatsObject struct { Id uint64 `json:"key"` Count int `json:"count"` Size int64 `json:"size"` // contains filtered or unexported fields }
func (*MockStatsObject) Increment ¶
func (m *MockStatsObject) Increment(key string, count int, size int64) error
func (*MockStatsObject) Initialize ¶
func (m *MockStatsObject) Initialize() error
func (*MockStatsObject) Key ¶
func (m *MockStatsObject) Key() uint64
func (*MockStatsObject) Matches ¶
func (m *MockStatsObject) Matches(other StatsObject) bool
type StatsCombiner ¶
type StatsCombiner[T StatsObject] struct { sync.Mutex // contains filtered or unexported fields }
func NewStatsCombiner ¶
type StatsObject ¶
Click to show internal directories.
Click to hide internal directories.