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
相關文章
相關標籤/搜索