middlewares

package
v0.0.0-...-b7d8635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL