Categorygithub.com/tsawler/remember/v2
modulepackage
2.0.2
Repository: https://github.com/tsawler/remember.git
Documentation: pkg.go.dev

# Functions

New is a factory method which returns an instance of a CacheInterface.

# Structs

BadgerCache is the type for a Badger database cache.
BuntDBCache is the type for a BuntDB cache.
Options is the type used to configure a CacheInterface object.
RedisCache is the type for a Redis-based cache.

# Interfaces

CacheInterface is the interface which anything providing cache functionality must satisfy.

# Type aliases

CacheEntry is a map to hold values, so we can serialize them.