package
1.3.6
Repository: https://github.com/undertreetech/waterdrop.git
Documentation: pkg.go.dev

# Functions

New creates a new Cache.
No description provided by the author
NewRollingWindow manages a window with rolling time durations The given duration will be used to bucket data within the window.
NewSafeMap returns a SafeMap.
NewTrie return a pointer of trie.
WithMask mask option.

# Structs

Bucket is a rolling window bucket.
No description provided by the author
Cache is an LRU cache.
RollingWindow is a window Accumulator implementation that uses some duration of time to determine the content of the window.
SafeMap is an implementation of sync.Map using a sync.RWMutex.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

this is a priority queue as implemented by a min heap ie.
No description provided by the author