1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-16 09:23:06 +03:00
go-redis/export_test.go
Vladimir Mihailenco f5245efa73 Prepare v5 release.
2016-10-09 10:56:53 +00:00

20 lines
318 B
Go

package redis
import (
"time"
"gopkg.in/redis.v5/internal/pool"
)
func (c *baseClient) Pool() pool.Pooler {
return c.connPool
}
func (c *PubSub) Pool() pool.Pooler {
return c.base.connPool
}
func (c *PubSub) ReceiveMessageTimeout(timeout time.Duration) (*Message, error) {
return c.receiveMessage(timeout)
}