/breaker

An implementation of the Circuit Breaker pattern in Go

Primary LanguageGo

Breaker

An implementation of the Circuit Breaker pattern in Go.

To run an example of the use of Breaker, use go run example_main.go. This example simply uses math to randomize call execution failure of success.

Tests available in breaker/breaker_test.go. Use go test to run them.