# Functions
DefaultConfig returns the default configuration for Redis service.
GoRedis returns the default Driver for the redis sessions database It's the go-redis client.
New returns a new redis sessions database.
# Constants
DefaultRedisAddr the redis address option, "127.0.0.1:6379".
DefaultRedisNetwork the redis network option, "tcp".
DefaultRedisTimeout the redis idle timeout option, time.Duration(30) * time.Second.
SessionIDKey the session ID stored to the redis session itself.
# Variables
ErrKeyNotFound a type of error of non-existing redis keys.
ErrRedisClosed an error with message 'redis: already closed'.
# Structs
Config the redis configuration used inside sessions.
Database the redis back-end session database for the sessions.
GoRedisDriver implements the Sessions Database Driver for the go-redis redis driver.
# Interfaces
Driver is the interface which each supported redis client should support in order to be used in the redis session database.
GoRedisClient is the interface which both go-redis's Client and Cluster Client implements.