package
3.11.2
Repository: https://github.com/ulule/limiter.git
Documentation: pkg.go.dev

# Functions

NewCache returns a new cache.
NewStore creates a new instance of memory store with defaults.
NewStoreWithOptions creates a new instance of memory store with options.

# Structs

Cache contains a collection of counters.
CacheWrapper is used to ensure that the underlying cleaner goroutine used to clean expired keys will not prevent Cache from being garbage collected.
Counter is a simple counter with an expiration.
Store is the in-memory store.