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
// Lifetime is the duration to have no access to a session before being
// recycled. Default is 3600 seconds.
Lifetime time.Duration
// Encoder is the encoder to encode session data. Default is session.GobEncoder.
Encoder session.Encoder
// Decoder is the decoder to decode session data. Default is session.GobDecoder.
Decoder session.Decoder
// contains filtered or unexported fields
}
Config contains options for the Redis session store.
Click to show internal directories.
Click to hide internal directories.