balancer

package
v0.0.0-...-770e577 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CHBalancer

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

func (*CHBalancer) Pick

type CHBalancerBuilder

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

func NewCHBalancerBuilder

func NewCHBalancerBuilder() *CHBalancerBuilder

func (*CHBalancerBuilder) Build

func (*CHBalancerBuilder) VirtualNodeCnt

func (b *CHBalancerBuilder) VirtualNodeCnt(cnt int)

type DynamicWeightBalancer

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

func (*DynamicWeightBalancer) Pick

type DynamicWeightBalancerBuilder

type DynamicWeightBalancerBuilder struct{}

func (*DynamicWeightBalancerBuilder) Build

type HashBalancer

type HashBalancer struct {
}

func (*HashBalancer) Pick

type HashBalancerBuilder

type HashBalancerBuilder struct{}

func (*HashBalancerBuilder) Build

type RandomBalancer

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

func (*RandomBalancer) Pick

type RandomBalancerBuilder

type RandomBalancerBuilder struct{}

func (*RandomBalancerBuilder) Build

type RoundRobinBalancer

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

func (*RoundRobinBalancer) Pick

type RoundRobinBalancerBuilder

type RoundRobinBalancerBuilder struct{}

func (*RoundRobinBalancerBuilder) Build

type RwWeightBalancer

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

func (*RwWeightBalancer) Pick

type RwWeightBalancerBuilder

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

func NewRwWeightBalancerBuilder

func NewRwWeightBalancerBuilder() *RwWeightBalancerBuilder

func (*RwWeightBalancerBuilder) Build

type WeightBalancer

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

func (*WeightBalancer) Pick

type WeightBalancerBuilder

type WeightBalancerBuilder struct{}

func (*WeightBalancerBuilder) Build

type WeightRandomBalancer

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

func (*WeightRandomBalancer) Pick

type WeightRandomBalancerBuilder

type WeightRandomBalancerBuilder struct{}

func (*WeightRandomBalancerBuilder) Build

Jump to

Keyboard shortcuts

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