Skip to content

Commit

Permalink
typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
prizov authored and umputun committed Dec 24, 2020
1 parent 00fe733 commit 2f99204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _Pls note: this is not a replacement for http.Client but rather a companion libr
## `Requester` middlewares

- `Header` - appends user-defined headers to all requests.
- `JSOM` - sets headers `"Content-Type": "application/json"` and `"Accept": "application/json"`
- `JSON` - sets headers `"Content-Type": "application/json"` and `"Accept": "application/json"`
- `BasicAuth(user, passwd string)` - adds HTTP Basic Authentication
- `MaxConcurrent` - sets maximum concurrency
- `Repeater` - sets repeater to retry failed requests. Doesn't provide repeater implementation but wraps it. Compatible with any repeater (for example [go-pkgz/repeater](https://github.com/go-pkgz/repeater)) implementing a single method interface `Do(ctx context.Context, fun func() error, errors ...error) (err error)` interface.
Expand Down

0 comments on commit 2f99204

Please sign in to comment.