package
2.3.0
Repository: https://github.com/laisky/go-utils.git
Documentation: pkg.go.dev

# Functions

NewCounter create Counter from 0.
NewCounterFromN create Counter from custom number.
NewParallelCounter get new parallel counter.
NewParallelCounterFromN get new parallel counter.
NewRotateCounter create new RotateCounter with threshold from 0.
NewRotateCounterFromN create new RotateCounter with threshold from N.
NewRotateCounterFromNWithCtx create new RotateCounter with threshold from N.
NewRotateCounterWithCtx create new RotateCounter with threshold from 0.
NewUint32Counter return new Uint32Counter from 0.
NewUint32CounterFromN return new Uint32Counter from n.

# Structs

ChildParallelCounter child of ParallelCounter.
Counter int64 counter.
ParallelCounter parallel count with child counter.
RotateCounter rotate counter.
Uint32Counter uint32 counter.

# Interfaces

Int64CounterItf counter for int64.