module
Version:
v0.0.0-...-9d9e8d3
Opens a new window with list of versions in this module.
Published: Apr 4, 2025
License: MIT
Opens a new window with license information.
README
¶
poc_circuit_breaker
Blog post PT-BR
Blog post EN
It defines two apps: A and B.
A is a microservice with two endppoints:
- /success will always return 200
- /failure will always return 500
B is a microservice that depends on A. It will call A, and depending on the response, will activate the circuit breaker.
Running
$ go run app_a/main.go
$ go run app_b/main.go
Directories
¶
Click to show internal directories.
Click to hide internal directories.