Github likes "go" not "golang"
Evan Huus
9 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
breaker/README.md
less
more
7
7
- success threshold (for closing the breaker)
8
8
- timeout (how long to keep the breaker open)
9
9
10
```golang
10
```go
11
11
breaker := breaker.New(3, 1, 5*time.Second)
12
12
13
13
for {