package
1.28.2
Repository: https://github.com/webx-top/db.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewCache initializes a new caching space with default settings.
NewCacheWithCapacity initializes a new caching space with the given capacity.
No description provided by the author
No description provided by the author

# Structs

Cache holds a map of volatile key -> values.

# Interfaces

Hashable types must implement a method that returns a key.
HasOnEvict type is (optionally) implemented by cache objects to clean after themselves.