Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ idle for a configurable duration.
that have not been used for `deleteAfter`; active keys are kept alive. Stop it
with `Close()`.
- **Type-safe & generic** — `Storage[K, V]` and `BucketLimiter[K]` use Go
generics (Go 1.25+).
generics (Go 1.26+).
- **Extensible** — implement the `Storage` interface for a custom in-process
store, or the `Limiter` interface for a custom algorithm.
- **HTTP middleware example** — with accurate `Retry-After` and `RateLimit-*`
Expand Down Expand Up @@ -114,7 +114,7 @@ sequenceDiagram
go get github.com/slashdevops/ratelimiter
```

Requires Go 1.25.2 or newer.
Requires Go 1.26 or newer.

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/slashdevops/ratelimiter

go 1.25.2
go 1.26.0

require golang.org/x/time v0.15.0