View definition

type MiddlewareType

Defined in


MiddlewareType is the type of Goji middleware. In order to provide an expressive API, this type is an alias for interface{} that is named for the purposes of documentation, however only the following concrete types are accepted:

- func(http.Handler) http.Handler
- func(*web.C, http.Handler) http.Handler

MiddlewareType is referenced in 2 repositories