# Functions
IgnoreCurrentBucket lets the Reduce call ignore current bucket.
NewCache returns a Cache with given expire.
NewQueue returns a Queue object.
NewRing returns a Ring object with the given size n.
NewRollingWindow returns a RollingWindow that with size buckets and time interval, use opts to customize the RollingWindow.
NewSafeMap returns a SafeMap.
NewSet returns a managed Set, can only put the values with the same type.
NewTimingWheel returns a TimingWheel.
NewUnmanagedSet returns an unmanaged Set, which can put values with different types.
WithLimit customizes a Cache with items up to limit.
WithName customizes a Cache with the given name.
# Structs
Bucket defines the bucket that holds sum and num of additions.
No description provided by the author
A Queue is a FIFO queue.
A Ring can be used as fixed size ring.
No description provided by the author
SafeMap provides a map alternative to avoid memory leak.
Set is not thread-safe, for concurrent use, make sure to use it with synchronization.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author