pickfirst

package
v1.66.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

Package pickfirst contains the pick_first load balancing policy.

Index

Constants

View Source
const (
	// Name is the name of the pick_first balancer.
	Name = "pick_first"
)

Variables

This section is empty.

Functions

func ShuffleAddressListForTesting

func ShuffleAddressListForTesting(n int, swap func(i, j int))

Types

type Shuffler

type Shuffler interface {
	ShuffleAddressListForTesting(n int, swap func(i, j int))
}

Jump to

Keyboard shortcuts

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