Documentation
¶
Index ¶
- type Counter
- func (this *Counter) GC()
- func (this *Counter) Get(key uint64) uint64
- func (this *Counter) GetKey(key string) uint64
- func (this *Counter) Increase(key uint64, lifeSeconds int) uint64
- func (this *Counter) IncreaseKey(key string, lifeSeconds int) uint64
- func (this *Counter) Reset(key uint64)
- func (this *Counter) ResetKey(key string)
- func (this *Counter) TotalItems() int
- func (this *Counter) WithGC() *Counter
- type Item
- type Span
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func (*Counter) IncreaseKey ¶
IncreaseKey increase string key
Click to show internal directories.
Click to hide internal directories.