Skip to content

Feature/circuit#44

Merged
ispiroglu merged 18 commits intomainfrom
feature/circuit
Sep 24, 2025
Merged

Feature/circuit#44
ispiroglu merged 18 commits intomainfrom
feature/circuit

Conversation

@ispiroglu
Copy link
Contributor

No description provided.

ispiroglu and others added 17 commits November 9, 2024 21:49
- hystrix-go as circuit breaking
- circuit per client, not per endpoint
- retry per client, not per endpoint
- improved fallback mechanism
-- configurable http response status
-- improved logging

- refactor server-client example into one example
…anisms

- Introduced tests for CircuitRoundTripper, including circuit enablement, command configuration, and round trip behavior.
- Added tests for retry logic, ensuring correct handling of retries and delay types.
- Implemented tests for fallback functions and error responses to validate their behavior under various scenarios.
- Enhanced test utilities for better mock handling and response generation.
# Conflicts:
#	docs/modules/client.md

import (
"math"
"math/rand"

Check warning

Code scanning / Semgrep OSS

Semgrep Finding: go.lang.security.audit.crypto.math_random.math-random-used Warning

Do not use math/rand. Use crypto/rand instead.
package rand

import (
"math/rand"

Check warning

Code scanning / Semgrep OSS

Semgrep Finding: go.lang.security.audit.crypto.math_random.math-random-used Warning

Do not use math/rand. Use crypto/rand instead.
@ispiroglu ispiroglu merged commit 7a68575 into main Sep 24, 2025
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants