Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chain ¶
func Chain(f http.HandlerFunc, middlewares ...Middleware) http.HandlerFunc
Chain applies middlewares to a http.HandlerFunc
Types ¶
type Middleware ¶
type Middleware func(handler http.HandlerFunc) http.HandlerFunc
func MediaPathRequired ¶
func MediaPathRequired(lister listing.Service) Middleware
MediaPathRequired ensures that there is a valid path on the user's pc where all risk matrix pictures can be stored
Click to show internal directories.
Click to hide internal directories.