lb

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node added in v1.1.0

type Node struct {
	Address string
	Label   string
}

type RoundRobin added in v1.0.6

type RoundRobin interface {
	Next() *Node
}

RoundRobin is an interface for representing round-robin balancing.

func NewRoundRobin added in v1.1.0

func NewRoundRobin(nodeList []*Node) RoundRobin

Jump to

Keyboard shortcuts

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