loadbalance

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 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)

将LoadBalanceGauge放回pool

Types

type LoadBalanceGauge

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

负载均衡统计数据

func GetLoadBalanceStatFromPool

func GetLoadBalanceStatFromPool() *LoadBalanceGauge

从池子中获取一个LoadBalanceGauge

func (*LoadBalanceGauge) GetCalledInstance

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

获取被选中的实例

Jump to

Keyboard shortcuts

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