circuitbreaker
circuitbreaker copied to clipboard
Circuit Breakers in Go
- Removed unnecessary concurrency pattern (wait channel) - called variable was unused, I wrote a condition for that to be called once
When the function Call sets a timeout, a coroutine will be opened internally circuitbreaker.go [line 350](https://github.com/rubyist/circuitbreaker/blob/master/circuitbreaker.go#L350) - [line 353](https://github.com/rubyist/circuitbreaker/blob/master/circuitbreaker.go#L353) Hope to provide AsyncCall , internal coroutines cannot be used
# Problem Whenever the major version of a Go module is greater than 1, the import path must include `/v`. For instance, if a Go module has a major version...