loadbalance

package
v3.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 118

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWeight

func GetWeight(invoker protocol.Invoker, invocation protocol.Invocation) int64

GetWeight gets weight for load balance strategy

Types

type LoadBalance

type LoadBalance interface {
	Select([]protocol.Invoker, protocol.Invocation) protocol.Invoker
}

LoadBalance Extension - LoadBalance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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