package
Version:
v1.2.1-0...-a02ee64
Opens a new window with list of versions in this module.
Published: Feb 23, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Password *string `env:"REDIS_PASSWORD" envDefault:""`
Username *string `env:"REDIS_USERNAME" envDefault:""`
PoolSize *int `env:"REDIS_POOL_SIZE"`
Db *int `env:"REDIS_DB" envDefault:"0"`
Clusters *URLs `env:"REDIS_CLUSTERS,required"`
}
type Redis struct {
redis.UniversalClient
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.