Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatsObject ¶
type MockStatsObject struct {
// contains filtered or unexported fields
}
func (*MockStatsObject) Increment ¶
func (m *MockStatsObject) Increment(_ string, count int, _ 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 ¶
func NewStatsCombiner[T StatsObject](now time.Time, interval time.Duration) *StatsCombiner[T]
type StatsObject ¶
Click to show internal directories.
Click to hide internal directories.