Use appends the given middleware to the default Mux's middleware stack. See the documentation for web.Mux.Use for more information.
// middleware for this application are defined in middleware.go, but you // can put them wherever you like. goji.Use(PlainText) // If the patterns ends with "/*", the path is treated as a prefix, and
Use is referenced in 47 repositoriesgithub.com/zenazn/goji
- 1 reference in example/main.go
- 7 references in server.go