Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisPoolList = map[string]*redis.Pool{} //存放连接池信息
Functions ¶
func GetRedisClient ¶
func NewRedisPool ¶
创建redis pool连接池 If Wait is true and the pool is at the MaxActive limit, then Get() waits for a connection to be returned to the pool before returning.
Types ¶
Click to show internal directories.
Click to hide internal directories.