atreugo icon indicating copy to clipboard operation
atreugo copied to clipboard

rate limit middleware request

Open anxuanzi opened this issue 4 years ago • 4 comments

Hi, I really like your framework and I'm currently using it for my project. I really need a rate limiter to control the traffic, I found some libraries that support Fasthttp. But I don't really know how to use them in Atreugo. Can you make a simple rate limiter middleware example to extend the Atreugo?

Libraries I found may be helpful:

  • https://github.com/ulule/limiter

  • https://github.com/didip/tollbooth

anxuanzi avatar Jan 28 '21 03:01 anxuanzi

Hi @anxuanzi,

I will try to develop the middleware as soon as possible.

Thanks for use Atreugo 😉

savsgio avatar Jan 28 '21 16:01 savsgio

Hi @anxuanzi,

I will try to develop the middleware as soon as possible.

Thanks for use Atreugo

Thank you! Looking forward to that~

anxuanzi avatar Jan 28 '21 16:01 anxuanzi

Hi @anxuanzi,

I don't forget the middleware, but lately, i don't have too much time.

I will try to has it soon.

savsgio avatar Feb 12 '21 10:02 savsgio