gorilla/mux — pull request #74 by edrocksit (2014-10-09 18:29:03+00:00)
Title: Add router wide middleware using alice

This adds support for a router wide chain(list of middleware handlers) using [alice](https://github.com/justinas/alice).

Currently it's very easy to use alice to have middleware with any router on a per route level but you can't have a router wide chain without repeating yourself everywhere. If you want to learn more about alice I suggest you read the creators [blog post](http://justinas.org/alice-painless-middleware-chaining-for-go/) for a good explaination of how it works.