loadbalance

package
v1.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PoolPutLoadBalanceStat

func PoolPutLoadBalanceStat(gauge *LoadBalanceGauge)

PoolPutLoadBalanceStat 将LoadBalanceGauge放回pool

Types

type LoadBalanceGauge

type LoadBalanceGauge struct {
	model.EmptyInstanceGauge
	Inst model.Instance
}

LoadBalanceGauge 负载均衡统计数据

func GetLoadBalanceStatFromPool

func GetLoadBalanceStatFromPool() *LoadBalanceGauge

GetLoadBalanceStatFromPool 从池子中获取一个LoadBalanceGauge

func (*LoadBalanceGauge) GetCalledInstance

func (l *LoadBalanceGauge) GetCalledInstance() model.Instance

GetCalledInstance 获取被选中的实例

Jump to

Keyboard shortcuts

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