proxy.golang.org : github.com/avast/retry-gO
Simple library for retry mechanism slightly inspired by [Try::Tiny::Retry](https://metacpan.org/pod/Try::Tiny::Retry) http get with retry: [next examples](https://github.com/avast/retry-go/tree/master/examples) * giantswarm/retry-go(https://github.com/giantswarm/retry-go) - slightly complicated interface. * sethgrid/pester(https://github.com/sethgrid/pester) - only http retry for http calls with retries and backoff * cenkalti/backoff(https://github.com/cenkalti/backoff) - Go port of the exponential backoff algorithm from Google's HTTP Client Library for Java. Really complicated interface. * rafaeljesus/retry-go(https://github.com/rafaeljesus/retry-go) - looks good, slightly similar as this package, don't have 'simple' `Retry` method * matryer/try(https://github.com/matryer/try) - very popular package, nonintuitive interface (for me) 1.0.2 -> 2.0.0 * argument of `retry.Delay` is final delay (no multiplication by `retry.Units` anymore) * function `retry.Units` are removed * [more about this breaking change](https://github.com/avast/retry-go/issues/7) 0.3.0 -> 1.0.0 * `retry.Retry` function are changed to `retry.Do` function * `retry.RetryCustom` (OnRetry) and `retry.RetryCustomWithOpts` functions are now implement via functions produces Options (aka `retry.OnRetry`)
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/avast/retry-g%21o
Keywords:
go
, golang
, hacktoberfest
, retry
, retry-library
License: MIT
Latest release: about 5 years ago
First release: almost 7 years ago
Namespace: github.com/avast
Stars: 2,791 on GitHub
Forks: 170 on GitHub
Total Commits: 173
Committers: 43
Average commits per author: 4.023
Development Distribution Score (DDS): 0.688
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 22 hours ago