An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.7% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 4.5% forks on proxy.golang.org
Top 0.5% docker downloads on proxy.golang.org

proxy.golang.org : github.com/sethvargo/go-retry

Package retry provides helpers for retrying. This package defines flexible interfaces for retrying Go functions that may be flakey or eventually consistent. It abstracts the "backoff" (how long to wait between tries) and "retry" (execute the function again) mechanisms for maximum flexibility. Furthermore, everything is an interface, so you can define your own implementations. The package is modeled after Go's built-in HTTP package, making it easy to customize the built-in backoff with your own custom logic. Additionally, callers specify which errors are retryable by wrapping them. This is helpful with complex operations where only certain results should retry.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/sethvargo/go-retry
License: Apache-2.0
Latest release: over 2 years ago
First release: almost 5 years ago
Namespace: github.com/sethvargo
Dependent packages: 363
Dependent repositories: 321
Stars: 431 on GitHub
Forks: 24 on GitHub
Docker dependents: 38
Docker downloads: 4,256,790
See more repository details: repos.ecosyste.ms
Last synced: 5 months ago

    Loading...
    Readme
    Loading...