Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
func HealthCheck(ctx context.Context, s ServerPool)
func LauchHealthCheck ¶
func LauchHealthCheck(ctx context.Context, sp ServerPool)
Types ¶
type ServerPool ¶
type ServerPool interface { GetBackends() []backend.Backend GetNextValidPeer() backend.Backend AddBackend(backend.Backend) GetServerPoolSize() int }
func NewServerPool ¶
func NewServerPool(strategy utils.LBStrategy) (ServerPool, error)
Click to show internal directories.
Click to hide internal directories.