Documentation
¶
Overview ¶
Package redcache provides a simple cache implementation using Redis as a backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[V any] struct { TTL time.Duration Client *redjet.Client // Prefix is the prefix used for all keys in the cache. Prefix string }
Cache is a simple cache implementation using Redis as a backend.
Click to show internal directories.
Click to hide internal directories.