leastactive

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	// contains filtered or unexported fields
}

Balancer is a load balancer that picks the least active connection.

func (*Balancer) Pick

Pick selects the least active connection.

type BalancerBuilder

type BalancerBuilder struct {
	Filter loadbalance.Filter
}

BalancerBuilder constructs a new Balancer.

func (*BalancerBuilder) Build

Build creates a new Balancer.

Jump to

Keyboard shortcuts

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