2013-11-07 18:20:15 +04:00
|
|
|
package redis
|
|
|
|
|
2016-03-12 11:52:13 +03:00
|
|
|
import "gopkg.in/redis.v3/internal/pool"
|
2015-05-10 15:33:04 +03:00
|
|
|
|
2016-03-12 11:52:13 +03:00
|
|
|
func (c *baseClient) Pool() pool.Pooler {
|
2013-11-07 18:20:15 +04:00
|
|
|
return c.connPool
|
|
|
|
}
|
2015-03-23 11:23:33 +03:00
|
|
|
|
2016-03-12 11:52:13 +03:00
|
|
|
func (c *PubSub) Pool() pool.Pooler {
|
2016-03-01 13:31:06 +03:00
|
|
|
return c.base.connPool
|
|
|
|
}
|