Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Options is the settings to set up Redis client connection. Options *Options // KeyPrefix is the prefix to use for keys in Redis. Default is "cache:". KeyPrefix string // Encoder is the encoder to encode cache data. Default is a Gob encoder. Encoder cache.Encoder // Decoder is the decoder to decode cache data. Default is a Gob decoder. Decoder cache.Decoder // contains filtered or unexported fields }
Config contains options for the Redis cache store.
Click to show internal directories.
Click to hide internal directories.