Versions in this module Expand all Collapse all v1 v1.1.0 May 1, 2021 Changes in this version + var RedisPoolList = map[string]*redis.Pool + func AddRedisPool(name string, conf *RedisConf) + func GetRedisClient(name string) redis.Conn + func NewRedisPool(conf *RedisConf) *redis.Pool + type RedisConf struct + ConnectTimeout int + Database int + Host string + IdleTimeout int + MaxActive int + MaxConnLifetime int + MaxIdle int + Password string + Port int + ReadTimeout int + WriteTimeout int + func (r *RedisConf) SetRedisPool(name string)