package
3.9.0+incompatible
Repository: https://github.com/datomar-labs-inc/db.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Hash returns a hash of the given struct.
NewCache initializes a new caching space with default settings.
NewCacheWithCapacity initializes a new caching space with the given capacity.
String returns a Hashable that produces a hash equal to the given string.

# Structs

Cache holds a map of volatile key -> values.

# Interfaces

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