package pickfirst

import "google.golang.org/grpc/balancer/pickfirst"

Package pickfirst contains the pick_first load balancing policy.

Index

Constants

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

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))
}

Source Files

pickfirst.go

Version
v1.65.0
Published
Jul 2, 2024
Platform
js/wasm
Imports
12 packages
Last checked
13 minutes ago

Tools for package owners.