View definition

type GenericMiddleware

Defined in github.com/gocraft/web/router_setup.go

Description

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 repository

github.com/gocraft/web