package internal
import "google.golang.org/grpc/balancer/pickfirst/internal"
Package internal contains code internal to the pickfirst package.
Index ¶
Variables ¶
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() } } )
Source Files ¶
internal.go
- Version
- v1.71.1 (latest)
- Published
- Mar 28, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 21 hours ago –
Tools for package owners.