Documentation
¶
Overview ¶
Package redis is the legacy go-redis/v9 cache adapter.
Deprecated: use github.com/faustbrian/go-cache/v2/adapters/redis. This package remains supported for the longer of 180 days after successor availability and two subsequently published stable root-module minor releases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend preserves the legacy Redis adapter type identity.
type Config ¶
type Config struct {
Client redisclient.UniversalClient
Clock cache.Clock
MaxRecordSize int
}
Config supplies the native client, clock, and maximum wire record size.
Click to show internal directories.
Click to hide internal directories.