Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTLSConfig ¶
DefaultTLSConfig returns a tls.Config object with system default security restrictions
func IsLoopback ¶
IsLoopback returns if and only if the provided address is a loopback address.
Types ¶
type Backoff ¶
type Backoff struct { // Base is the base duration for waiting between retries. Base time.Duration // contains filtered or unexported fields }
Backoff assists in implementing retry loops with exponential backoff and jitter.
Click to show internal directories.
Click to hide internal directories.