Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBackends = errors.New("no backends")
Functions ¶
This section is empty.
Types ¶
type RedisOptions ¶
type RoutesBackend ¶
type RoutesBackend interface { Healthcheck() error Backends(host string) (string, []string, map[int]struct{}, error) MarkDead(host string, backend string, backendIdx int, backendLen int, deadTTL int) error StartMonitor() error StopMonitor() }
func NewRedisBackend ¶
func NewRedisBackend(readOpts, writeOpts RedisOptions) (RoutesBackend, error)
Click to show internal directories.
Click to hide internal directories.