internal

package
v1.69.4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package internal contains code internal to the pickfirst package.

Index

Constants

This section is empty.

Variables

View Source
var (
	// RandShuffle pseudo-randomizes the order of addresses.
	RandShuffle = rand.Shuffle
	// TimeAfterFunc allows mocking the timer for testing connection delay
	// related functionality.
	TimeAfterFunc = func(d time.Duration, f func()) func() {
		timer := time.AfterFunc(d, f)
		return func() { timer.Stop() }
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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