poc_circuit_breaker

module
v0.0.0-...-9d9e8d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2025 License: MIT

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

  1. $ go run app_a/main.go
  2. $ go run app_b/main.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL