utils

package
v0.118.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RetryConfig = utils.RetryConfig{
	Attempts: 5,
	Backoff: func(attempt int) time.Duration {

		return time.Duration(attempt*5) * time.Second
	},
	RetryStatusCodes: []int{
		http.StatusLocked,
		http.StatusTooEarly,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL