rest/api.go
func (api *Api) Use(middlewares ...Middleware) {
	api.stack = append(api.stack, middlewares...)
}
func (api *Api) Use(middlewares ...Middleware) {
	api.stack = append(api.stack, middlewares...)
}
// Use pushes one or multiple middlewares to the stack for middlewares
// maintained in the Api object.