GenericMiddleware are middleware that doesn't have or need a context. General purpose middleware, such as static file serving, has this signature. If your middlware doesn't need a context, you can use this signature to get a small performance boost.
GenericMiddleware is referenced in 1 repositorygithub.com/gocraft/web
- 1 reference in router_setup.go