golang中redis链接池

package main import ( "github.com/garyburd/redigo/redis" "fmt" ) var pool *redis.Pool func init() { pool = &redis.Pool{ MaxIdle:16, MaxActive:0, IdleTimeout:300, Dial: func() (redis.Con
相关文章
相关标签/搜索