middlewares

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLogger

func AccessLogger(next http.Handler) http.Handler

AccessLogger middleware handles access logging.

func CORS

func CORS(next http.Handler) http.Handler

CORS middleware handles CORS issues.

func JWTAuth

func JWTAuth(next http.Handler) http.Handler

JWTAuth authenticates incoming requests.

func Recovery

func Recovery(next http.Handler) http.Handler

Recovery recovers any panics that happen during request execution and returns a sanitized response.

Types

This section is empty.

Jump to

Keyboard shortcuts

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