Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger model.Logger = logger.NewDefaultLogger()
Logger is the package-level logger for mem cache operations. By default, it uses the DefaultLogger which wraps slog. You can replace it with your own implementation using SetLogger.
Functions ¶
func NewBucket ¶
func NewBucket[T any](cli model.CacheClient, name string) (model.CacheBucket, error)
func NewCacheDoc ¶
func NewClient ¶
func NewClient() model.CacheClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.