Documentation ¶
Index ¶
- func BackoffInitialInterval(i time.Duration) expBackoffOpt
- func BackoffMaxElapsedTime(i time.Duration) expBackoffOpt
- func BackoffMaxInterval(i time.Duration) expBackoffOpt
- func BackoffMultiplier(i float64) expBackoffOpt
- func BackoffRandomizationFactor(i float64) expBackoffOpt
- func Leader(actives []string) string
- func NewBackoffTicker(o ...expBackoffOpt) *backoff.Ticker
- func NextIP(defaultIP string, ips []string) string
- func RandStringRunes(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackoffInitialInterval ¶ added in v0.13.1
func BackoffMaxElapsedTime ¶ added in v0.13.1
func BackoffMaxInterval ¶ added in v0.13.1
func BackoffMultiplier ¶ added in v0.13.1
func BackoffMultiplier(i float64) expBackoffOpt
func BackoffRandomizationFactor ¶ added in v0.13.1
func BackoffRandomizationFactor(i float64) expBackoffOpt
func NewBackoffTicker ¶ added in v0.13.1
func RandStringRunes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.