type github.com/go-redis/redis/v8.sentinelFailover
15 uses
github.com/go-redis/redis/v8 (current package)
sentinel.go#L170: failover := &sentinelFailover{
sentinel.go#L197: failover *sentinelFailover,
sentinel.go#L395: type sentinelFailover struct {
sentinel.go#L409: func (c *sentinelFailover) Close() error {
sentinel.go#L418: func (c *sentinelFailover) closeSentinel() error {
sentinel.go#L431: func (c *sentinelFailover) RandomSlaveAddr(ctx context.Context) (string, error) {
sentinel.go#L442: func (c *sentinelFailover) MasterAddr(ctx context.Context) (string, error) {
sentinel.go#L487: func (c *sentinelFailover) slaveAddrs(ctx context.Context) ([]string, error) {
sentinel.go#L532: func (c *sentinelFailover) getMasterAddr(ctx context.Context, sentinel *SentinelClient) string {
sentinel.go#L542: func (c *sentinelFailover) getSlaveAddrs(ctx context.Context, sentinel *SentinelClient) []string {
sentinel.go#L589: func (c *sentinelFailover) trySwitchMaster(ctx context.Context, addr string) {
sentinel.go#L613: func (c *sentinelFailover) setSentinel(ctx context.Context, sentinel *SentinelClient) {
sentinel.go#L624: func (c *sentinelFailover) discoverSentinels(ctx context.Context) {
sentinel.go#L646: func (c *sentinelFailover) listen(pubsub *PubSub) {
sentinel.go#L687: failover := &sentinelFailover{
![]() |
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. |