IP Based rate-limit middleware using go.uber.org/ratelimit
If you’re running a HTTP server and want to rate limit user requests, and most of the frameworks are providing their own middleware.
But if you want something simple and lightweight – or just want to learn – it’s not too difficult to roll your own middleware to handle rate limiting.