Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MinFunc ¶
func MinFunc[U any, T constraints.Ordered](elems []U, f func(U) T) T
MinFunc returns the minimum value of the given element array with respect to the given key function. In the event U is not a compound type (e.g a struct) an identity function can be provided.
func NewRedialBackoff ¶
NewRedialBackoff is a standard backoff to use for redialling or reconnecting to unreachable network endpoints
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.