balancer

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: 7 Imported by: 1

Documentation

Index

Constants

View Source
const WeightRobinName = "watermelon_weight_round_robin"

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Address resolver.Address
	SubConn balancer.SubConn
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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