Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveChecker ¶
type ActiveChecker struct {
// contains filtered or unexported fields
}
ActiveChecker periodically probes each backend and flips its alive bit.
func NewActiveChecker ¶
func NewActiveChecker(cfg config.ActiveHealthConfig, pool *backend.Pool, logger *slog.Logger, recorder *metrics.Recorder) *ActiveChecker
func (*ActiveChecker) Start ¶
func (c *ActiveChecker) Start(ctx context.Context)
func (*ActiveChecker) Wait ¶
func (c *ActiveChecker) Wait()
Click to show internal directories.
Click to hide internal directories.