Skip to content

Commit

Permalink
add readm
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama committed Dec 19, 2023
1 parent df5aee8 commit 5f3a38b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ This is a repository for collecting rate limiters in [rl](https://github.com/2ma

## Usage

TBD
```go

h := rlutils.NewHostLimiter(
reqLimit,
windowLen,
targetExtensions,
onRequestLimit,
)

handler := rl.New(h)
```

0 comments on commit 5f3a38b

Please sign in to comment.