1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-19 11:43:14 +03:00
This commit is contained in:
Nedyalko Dyakov
2025-07-07 18:18:37 +03:00
parent 225c0bf5b2
commit e697fcc76b
14 changed files with 2173 additions and 29 deletions

View File

@ -13,9 +13,6 @@ type NotificationHandlerContext struct {
// circular dependencies. The developer is responsible for type assertion.
// It can be one of the following types:
// - *redis.baseClient
// - *redis.Client
// - *redis.ClusterClient
// - *redis.Conn
Client interface{}
// ConnPool is the connection pool from which the connection was obtained.
@ -25,7 +22,7 @@ type NotificationHandlerContext struct {
// - *pool.ConnPool
// - *pool.SingleConnPool
// - *pool.StickyConnPool
ConnPool interface{}
ConnPool pool.Pooler
// PubSub is the PubSub instance that received the notification.
// It is interface to both allow for future expansion and to avoid