lb

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Round = "round"
	First = "first"
)
View Source
const Name = Round

Name is the name of round_robin balancer.

Variables

This section is empty.

Functions

func Balance

func Balance(bname string) grpc.DialOption

If not found, then return Round Balance

func BalancerFirst

func BalancerFirst() grpc.DialOption

func BalancerRound

func BalancerRound() grpc.DialOption

func NewClientBuilder

func NewClientBuilder(schema string, serviceAddrs map[string][]string) resolver.Builder

Types

This section is empty.

Jump to

Keyboard shortcuts

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