Registry / utility / afex-hystrix-go

afex-hystrix-go

JSON →
library0.0.0-20180502004556-fa1af6a1f4f5gogounverified

A Go implementation of the Hystrix circuit breaker pattern for fault-tolerant distributed systems.

go get github.com/afex/hystrix-go
INSTALL
IMPORT
SIG · AFEX-HYSTRIX-GO
A
afex-hystrix-go
utilitygov0.0.0-20180502004556-fa1af6a1f4f5
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.

hystrix
github.com/afex/hystrix-go/hystrix

Configures and runs a Hystrix command with a fallback.

package main import ( "github.com/afex/hystrix-go/hystrix" ) func main() { hystrix.ConfigureCommand("my_command", hystrix.CommandConfig{Timeout: 1000}) hystrix.Do("my_command", func() error { return nil }, nil) }
Debug
Known issues
breakingThe library is no longer actively maintained; consider alternatives like resilience4go.
fix
Migrate to a maintained circuit breaker library.
affects: >=0.0.0
Upgrade
Version history
0.0.0-20180502004556-fa1af6a1f4f5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
Meta
1
OpenAI (training)
1
Resources
afex-hystrix-go — go get afex-hystrix-go · libregistry