mirror of
https://github.com/redis/go-redis.git
synced 2025-12-25 00:01:00 +03:00
Pass context to Dialer
This commit is contained in:
@@ -20,7 +20,7 @@ type UniversalOptions struct {
|
||||
|
||||
// Common options.
|
||||
|
||||
Dialer func(network, addr string) (net.Conn, error)
|
||||
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)
|
||||
OnConnect func(*Conn) error
|
||||
Password string
|
||||
MaxRetries int
|
||||
|
||||
Reference in New Issue
Block a user