mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
refactor(push): completly change the package structure
This commit is contained in:
@ -15,6 +15,7 @@ import (
|
||||
|
||||
"github.com/redis/go-redis/v9/auth"
|
||||
"github.com/redis/go-redis/v9/internal/pool"
|
||||
"github.com/redis/go-redis/v9/push"
|
||||
)
|
||||
|
||||
// Limiter is the interface of a rate limiter or a circuit breaker.
|
||||
@ -222,7 +223,7 @@ type Options struct {
|
||||
|
||||
// PushNotificationProcessor is the processor for handling push notifications.
|
||||
// If nil, a default processor will be created for RESP3 connections.
|
||||
PushNotificationProcessor PushNotificationProcessorInterface
|
||||
PushNotificationProcessor push.NotificationProcessor
|
||||
}
|
||||
|
||||
func (opt *Options) init() {
|
||||
|
Reference in New Issue
Block a user