middleware

package
v0.0.0-...-bcd07de Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(next ...http.Handler) http.Handler

Apply TODO: is a convenient function that applies all middleware in the order passed in

func Recover

func Recover(next http.Handler) http.HandlerFunc

func RemoveTrailingSlash

func RemoveTrailingSlash(next http.Handler) http.HandlerFunc

RemoveTrailingSlash is a middleware function that removes trailing slash from a URL path before `next http.Handler` is called

Types

This section is empty.

Jump to

Keyboard shortcuts

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