Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danny.aguswahyudi committed May 11, 2021
1 parent cdb37c6 commit e009f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ All HTTP methods are exposed as a fluent interface.

## Installation
```
go get -u github.com/gojek/heimdall
go get -u github.com/gojek/heimdall/v7
```

## Usage
Expand Down Expand Up @@ -205,7 +205,7 @@ client := httpclient.NewClient(
// The rest is the same as the first example
```

This will create an HTTP client which will retry every `500` milliseconds incase the request fails. The library also comes with an [Exponential Backoff](https://www.godoc.org/github.com/gojek/heimdall#NewExponentialBackoff)
This will create an HTTP client which will retry every `500` milliseconds incase the request fails. The library also comes with an [Exponential Backoff](https://pkg.go.dev/github.com/gojek/heimdall#NewExponentialBackoff)

### Custom retry mechanisms

Expand Down

0 comments on commit e009f97

Please sign in to comment.