loadbalancer

package
v0.0.0-...-82932d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const RETRIES_ATTEMPTED key = 0

Variables

This section is empty.

Functions

func AllowRetry

func AllowRetry(r *http.Request, max_retries int) (int, bool)

Types

type LoadBalancer

type LoadBalancer interface {
	Serve(http.ResponseWriter, *http.Request)
	LaunchHealthCheck(context.Context, int)
}

func NewLoadBalancer

func NewLoadBalancer(sp serverpool.ServerPool) LoadBalancer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL