balancer

package
v0.0.0-...-fc18315 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PollingBalancerName = "polling-balancer"
View Source
const WeightPollingBalancerName = "weight-polling-balancer"

Variables

This section is empty.

Functions

This section is empty.

Types

type PollingBalancer

type PollingBalancer struct {
}

PollingBalancer 轮询

func (*PollingBalancer) Build

type PollingPicker

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

func (*PollingPicker) Pick

type WeightPollingBalancer

type WeightPollingBalancer struct {
}

WeightPollingBalancer 加权平滑轮询

func (*WeightPollingBalancer) Build

type WeightPollingPicker

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

func (*WeightPollingPicker) Pick

Jump to

Keyboard shortcuts

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