github.com/go-redis/redis/v8.sentinelFailover.opt (field)
22 uses
github.com/go-redis/redis/v8 (current package)
sentinel.go#L171: opt: failoverOpt,
sentinel.go#L203: if failover.opt.SlaveOnly {
sentinel.go#L215: if failover.opt.Dialer != nil {
sentinel.go#L216: return failover.opt.Dialer(ctx, network, addr)
sentinel.go#L218: return net.DialTimeout("tcp", addr, failover.opt.DialTimeout)
sentinel.go#L396: opt *FailoverOptions
sentinel.go#L466: sentinel := NewSentinelClient(c.opt.sentinelOptions(sentinelAddr))
sentinel.go#L468: masterAddr, err := sentinel.GetMasterAddrByName(ctx, c.opt.MasterName).Result()
sentinel.go#L471: c.opt.MasterName, err)
sentinel.go#L511: sentinel := NewSentinelClient(c.opt.sentinelOptions(sentinelAddr))
sentinel.go#L513: slaves, err := sentinel.Slaves(ctx, c.opt.MasterName).Result()
sentinel.go#L516: c.opt.MasterName, err)
sentinel.go#L533: addr, err := sentinel.GetMasterAddrByName(ctx, c.opt.MasterName).Result()
sentinel.go#L536: c.opt.MasterName, err)
sentinel.go#L543: addrs, err := sentinel.Slaves(ctx, c.opt.MasterName).Result()
sentinel.go#L546: c.opt.MasterName, err)
sentinel.go#L607: c.opt.MasterName, addr)
sentinel.go#L625: sentinels, err := c.sentinel.Sentinels(ctx, c.opt.MasterName).Result()
sentinel.go#L627: internal.Logger.Printf(ctx, "sentinel: Sentinels master=%q failed: %s", c.opt.MasterName, err)
sentinel.go#L638: sentinelAddr, c.opt.MasterName)
sentinel.go#L656: if parts[0] != c.opt.MasterName {
sentinel.go#L688: opt: failoverOpt,
 |
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. |