Martini
Classy web framework for Go
...BeforeFunc is a function that is called before the ResponseWriter has been written to. ClassicMartini represents a Martini with some reasonable defaults. Embeds the router functions for convenience. Classic creates a classic Martini with some basic default middleware - martini.Logger, martini.Recovery and martini.Static. Classic also maps martini.Routes as a service. Context represents a request context. Services can be mapped on the request level from this interface. Handler can be any callable function. Martini attempts to inject services into the handler's argument list. ...