package
3.0.0+incompatible
Repository: https://github.com/soopsio/go-sessions.git
Documentation: pkg.go.dev

# Functions

DefaultConfig returns the default configuration for Redis service.
New returns a Redis service filled by the passed config to connect call the .Connect().

# Constants

DefaultRedisAddr the redis address option, "127.0.0.1:6379".
DefaultRedisIdleTimeout the redis idle timeout option, time.Duration(5) * time.Minute.
DefaultRedisNetwork the redis network option, "tcp".

# Variables

ErrKeyNotFound a static error when key not found.
ErrRedisClosed an error with message 'already closed'.

# Structs

Config the redis configuration used inside sessions.
Service the Redis service, contains the config and the redis pool.