echox
echox copied to clipboard
More recipes
Migrated from https://github.com/labstack/echo/issues/269
Please mention you recipe request in the area.
- [x] WebSocket
- [x] net/websocket
- [x] Gorilla - #268
- [ ] https://github.com/labstack/echo/issues/253 - rate limiting
- [ ] https://github.com/labstack/echo/issues/251 - "/debug/*" handlers
any update about rate limiting ?
https://github.com/labstack/echo/pull/1343 rate-limit middleware is ready. now I'm working on a distributed rate limit option.
for 200-response these fields will be added to the response header.
x-ratelimit-limit →2
x-ratelimit-remaining →1
x-ratelimit-reset →1559074005
for 429 - to many request code these fields will be added to the response header.
retry-after →4
x-ratelimit-limit →2
x-ratelimit-remaining →-1
x-ratelimit-reset →1559074005
Any updates about the rate limiting and/or the distributed rate limiting option?
@alperhankendi where can I find the package?