GetDefaultRedisClient returns the RedisClient of specified address use default maxIdle & maxActive
(address string)
| 70 | // GetDefaultRedisClient returns the RedisClient of specified address |
| 71 | // use default maxIdle & maxActive |
| 72 | func GetDefaultRedisClient(address string) *RedisClient { |
| 73 | return GetRedisClient(address, defaultMaxIdle, defaultMaxActive) |
| 74 | } |
| 75 | |
| 76 | // GetRedisClient returns the RedisClient of specified address & maxIdle & maxActive |
| 77 | func GetRedisClient(address string, maxIdle, maxActive int) *RedisClient { |