Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj Nandan Sharma authored and Raj Nandan Sharma committed Apr 21, 2024
1 parent bbc29b9 commit 8d58e4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ main/
.idea/
vendor/
bin/
covprofile
covprofile
.okgit/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ import "github.com/rajnandan1/go-tripper"
### Adding a Circuit

To add a circuit to the Tripper, use the `ConfigureCircuit` function:

#### Circuit With Count

```go
//Adding a circuit that will trip the circuit if count of failure is more than 10 in 1 minute
//for a minimum of 100 count
Expand Down

0 comments on commit 8d58e4f

Please sign in to comment.