selector

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSelector = defaultSelector{}
)

Functions

This section is empty.

Types

type Conn

type Conn interface {
	Address() resolver.Address
	SubConn() balancer.SubConn
	Tag() string
}

type Selector

type Selector interface {
	Select(conns []Conn, info balancer.PickInfo) []Conn
}

Jump to

Keyboard shortcuts

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