github.com/go-redis/redis/v8.Options.OnConnect (field)
9 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L136: OnConnect: opt.OnConnect,
options.go#L44: OnConnect func(ctx context.Context, cn *Conn) error
redis.go#L220: c.opt.OnConnect == nil {
redis.go#L250: if c.opt.OnConnect != nil {
redis.go#L251: return c.opt.OnConnect(ctx, conn)
ring.go#L130: OnConnect: opt.OnConnect,
sentinel.go#L71: OnConnect: opt.OnConnect,
sentinel.go#L101: OnConnect: opt.OnConnect,
universal.go#L143: OnConnect: o.OnConnect,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |