balancer

package
v0.0.0-...-ca8de47 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, cfg config.Config) error

Execute executes the balancer with the context ctx and config cfg. Execution of the balancer can be halted by cancelling ctx.

Types

type Balancer

type Balancer struct {
	config.Config
	// contains filtered or unexported fields
}

Balancer represents the state of the load balancer.

func NewBalancer

func NewBalancer(ctx context.Context, cfg config.Config) (*Balancer, error)

NewBalancer returns an initialized Balancer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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