mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add CircuitState type with StateClosed, StateOpen, and StateHalfOpen constants and String method - Add CircuitBreaker struct with name, state, failureCount, successCount, lastFailure, config, mutex, and onStateChange fields - Add CircuitBreakerConfig with FailureThreshold, SuccessThreshold, Timeout, and HalfOpenMaxCalls fields - Add NewCircuitBreaker constructor and DefaultCircuitBreakerConfig with