levelweight

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "watermelon_level_weight_round"

Variables

This section is empty.

Functions

func SetThreshold

func SetThreshold(i int)

Types

type CacheNodes

type CacheNodes[T interface {
	Weight() int32
	Service() string
	Methods() []string
}] struct {
	wbalancer.Node
	// contains filtered or unexported fields
}

type WeightRobinBalancer

type WeightRobinBalancer[T interface {
	Weight() int32
	Service() string
	Methods() []string
}] struct {
}

func (*WeightRobinBalancer[T]) Build

func (*WeightRobinBalancer[T]) Parser

func (w *WeightRobinBalancer[T]) Parser(meta string) T

Jump to

Keyboard shortcuts

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