github.com/go-redis/redis/v8.Options.DB (field)
11 uses
github.com/go-redis/redis/v8 (current package)
options.go#L57: DB int
options.go#L229: o.DB = 0
options.go#L231: if o.DB, err = strconv.Atoi(f[0]); err != nil {
redis.go#L150: return fmt.Sprintf("Redis<%s db:%d>", c.getAddr(), c.opt.DB)
redis.go#L218: c.opt.DB == 0 &&
redis.go#L236: if c.opt.DB > 0 {
redis.go#L237: pipe.Select(ctx, c.opt.DB)
ring.go#L134: DB: opt.DB,
sentinel.go#L73: DB: opt.DB,
sentinel.go#L103: DB: 0,
universal.go#L145: DB: o.DB,
![]() |
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. |