package
8.4.4+incompatible
Repository: https://github.com/codehakase/iris.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 an error with message 'Key $thekey doesn't found'.
ErrRedisClosed an error with message 'Redis is already closed'.