Skip to content

Commit

Permalink
Update README.md for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiyukiMineo committed Apr 30, 2024
1 parent 682127b commit 01b4fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Usage

The struct `CircuitBreaker` is a state machine to prevent sending requests that are likely to fail.
The function `NewCircuitBreaker` creates a new `CircuitBreaker`.
The type parameter `T` specifies the return type of requests.

```go
func NewCircuitBreaker[T any](st Settings) *CircuitBreaker[T]
Expand Down

0 comments on commit 01b4fe0

Please sign in to comment.