View definition

type MiddlewareType

Defined in github.com/zenazn/goji/web/web.go

Description

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

github.com/zenazn/goji github.com/ymichael/sessions