mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Move logger to internal package.
This commit is contained in:
@ -14,6 +14,6 @@ func (c *PubSub) Pool() pool.Pooler {
|
||||
return c.base.connPool
|
||||
}
|
||||
|
||||
func SetReceiveMessageTimeout(d time.Duration) {
|
||||
receiveMessageTimeout = d
|
||||
func (c *PubSub) ReceiveMessageTimeout(timeout time.Duration) (*Message, error) {
|
||||
return c.receiveMessage(timeout)
|
||||
}
|
||||
|
Reference in New Issue
Block a user