github.com/go-redis/redis/v8.UniversalOptions.Addrs (field)
10 uses
github.com/go-redis/redis/v8 (current package)
universal.go#L15: Addrs []string
universal.go#L61: if len(o.Addrs) == 0 {
universal.go#L62: o.Addrs = []string{"127.0.0.1:6379"}
universal.go#L66: Addrs: o.Addrs,
universal.go#L98: if len(o.Addrs) == 0 {
universal.go#L99: o.Addrs = []string{"127.0.0.1:26379"}
universal.go#L103: SentinelAddrs: o.Addrs,
universal.go#L136: if len(o.Addrs) > 0 {
universal.go#L137: addr = o.Addrs[0]
universal.go#L201: } else if len(opts.Addrs) > 1 {
![]() |
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. |