Apply per-IP rate limiting (5 attempts/minute) to POST /login using golang.org/x/time/rate. Returns 429 Too Many Requests when exceeded. Closes #12 |
||
|---|---|---|
| .. | ||
| middleware.go | ||
| ratelimit_test.go | ||
Apply per-IP rate limiting (5 attempts/minute) to POST /login using golang.org/x/time/rate. Returns 429 Too Many Requests when exceeded. Closes #12 |
||
|---|---|---|
| .. | ||
| middleware.go | ||
| ratelimit_test.go | ||