labstack / echox

Echo cookbook and website
https://echo.labstack.com
MIT License
409 stars 284 forks source link

More recipes #24

Open vishr opened 7 years ago

vishr commented 7 years ago

Migrated from https://github.com/labstack/echo/issues/269

Please mention you recipe request in the area.

omar-haris commented 6 years ago

any update about rate limiting ?

alperhankendi commented 5 years ago

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
lihongyi commented 4 years ago

Any updates about the rate limiting and/or the distributed rate limiting option?

Altiano commented 4 years ago

@alperhankendi where can I find the package?