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.
Click to show internal directories.
Click to hide internal directories.