mirror of
https://github.com/tmrts/go-patterns.git
synced 2024-11-24 05:56:08 +03:00
348 B
348 B
Circuit Breaker Pattern
The circuit breaker design pattern is used to detect failures and encapsulates logic of preventing a failure to reoccur constantly.
Implementation and Example
An example of implementation and usage can be found in circuitbreaker.go.