package
0.0.2
Repository: https://github.com/kataras/iris.git
Documentation: pkg.go.dev

# Functions

DefaultConfig returns the default configuration for Redis service.
New returns a new redis database.
Radix returns the driver for the radix go redis client.
Redigo returns the driver for the redigo go redis client.

# Constants

DefaultDelim ths redis delim option, "-".
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.

# 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.
RadixDriver the Redis service based on the radix go client, contains the config and the redis pool.
RedigoDriver is the redigo Redis go client, contains the config and the redis pool.

# Interfaces

Driver is the interface which each supported redis client should support in order to be used in the redis session database.