This project contains middlewares that I often found myself reimplementing in new projects. In addition, it includes a middleware that logs in a format similar to Heroku’s, but which includes the request’s user agent, and only a single proxy IP address.

See the godoc for more information and documentation.


handlers requires Go 1.8 or newer. Version 0.30 is the last version that works with versions older than Go 1.8.


Donations free up time to make improvements to the library, and respond to bug reports. You can send donations via Paypal’s “Send Money” feature to [email protected]. Donations are not tax deductible in the USA.