Versions in this module Expand all Collapse all v1 v1.1.0 Aug 23, 2019 v1.0.0 Mar 27, 2018 Changes in this version + func TestRole(c redis.Conn, expectedRole string) bool + type NoSentinelsAvailable struct + func (ns NoSentinelsAvailable) Error() string + type Sentinel struct + Addrs []string + Dial func(addr string) (redis.Conn, error) + MasterName string + Pool func(addr string) *redis.Pool + func (s *Sentinel) Close() error + func (s *Sentinel) Discover() error + func (s *Sentinel) MasterAddr() (string, error) + func (s *Sentinel) SentinelAddrs() ([]string, error) + func (s *Sentinel) SlaveAddrs() ([]string, error) + func (s *Sentinel) Slaves() ([]*Slave, error) + type Slave struct + func (s *Slave) Addr() string + func (s *Slave) Available() bool