github.com/go-redis/redis/v8.clusterClient.opt (field)
25 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L669: opt *ClusterOptions
cluster.go#L692: opt: opt,
cluster.go#L725: return c.opt
cluster.go#L769: for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
cluster.go#L808: if c.opt.ReadOnly && isLoadingError(lastErr) {
cluster.go#L998: if c.opt.ClusterSlots != nil {
cluster.go#L999: slots, err := c.opt.ClusterSlots(ctx)
cluster.go#L1093: for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
cluster.go#L1113: if attempt < c.opt.MaxRedirects {
cluster.go#L1139: if c.opt.ReadOnly && c.cmdsAreReadOnly(cmds) {
cluster.go#L1177: err := cn.WithWriter(ctx, c.opt.WriteTimeout, func(wr *proto.Writer) error {
cluster.go#L1184: return cn.WithReader(ctx, c.opt.ReadTimeout, func(rd *proto.Reader) error {
cluster.go#L1207: if c.opt.ReadOnly && isLoadingError(err) {
cluster.go#L1280: for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
cluster.go#L1300: if attempt < c.opt.MaxRedirects {
cluster.go#L1335: err := cn.WithWriter(ctx, c.opt.WriteTimeout, func(wr *proto.Writer) error {
cluster.go#L1342: return cn.WithReader(ctx, c.opt.ReadTimeout, func(rd *proto.Reader) error {
cluster.go#L1450: for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
cluster.go#L1495: opt: c.opt.clientOptions(),
cluster.go#L1554: return internal.RetryBackoff(attempt, c.opt.MinRetryBackoff, c.opt.MaxRetryBackoff)
cluster.go#L1640: if (c.opt.RouteByLatency || c.opt.RouteRandomly) && cmdInfo != nil && cmdInfo.ReadOnly {
cluster.go#L1647: if c.opt.RouteByLatency {
cluster.go#L1650: if c.opt.RouteRandomly {
 |
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. |