package
0.0.0-20230313030019-42159231bbd3
Repository: https://github.com/wideway/public.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Cache returns the existing cache table with given name or creates a new one if the table does not exist yet.
NewCacheItem returns a newly created CacheItem.

# Variables

ErrKeyNotFound gets returned when a specific key couldn't be found.
ErrKeyNotFoundOrLoadable gets returned when a specific key couldn't be found and loading via the data-loader callback also failed.

# Structs

CacheItem is an individual cache item Parameter data contains the user-set value in the cache.
CacheItemPair maps key to access counter.
CacheTable is a table within the cache.

# Type aliases

CacheItemPairList is a slice of CacheItemPairs that implements sort.