Registry / utility / slok-goresilience

slok-goresilience

JSON →
library0.2.0gogounverified

A framework/library of utilities to improve the resilience of programs easily using a decorator pattern.

go get github.com/slok/goresilience
INSTALL
IMPORT
SIG · SLOK-GORESILIENCE
S
slok-goresilience
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goresilience
github.com/slok/goresilience

Run a function with retry resilience

package main import ( "context" "fmt" "github.com/slok/goresilience" "github.com/slok/goresilience/retry" ) func main() { runner := retry.New(retry.Config{}) err := runner.Run(context.Background(), func(ctx context.Context) error { return nil }) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
slok-goresilience — go get slok-goresilience · libregistry