middleware

package
v0.0.0-...-c13952d Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticationMiddleware

func AuthenticationMiddleware(next echo.HandlerFunc) echo.HandlerFunc

func CsrfMiddleware

func CsrfMiddleware(next echo.HandlerFunc) echo.HandlerFunc

CsrfMiddleware uses Echo's CSRF middleware with ephemeral secret but a persistent cookie if production.

func NonceMiddleware

func NonceMiddleware(next echo.HandlerFunc) echo.HandlerFunc

func ProxyMiddleware

func ProxyMiddleware(next echo.HandlerFunc) echo.HandlerFunc

ProxyMiddleware logs or manipulates proxy headers. If you just want standard 'X-Forwarded-*' parsing, use Echo’s middleware.ProxyHeaders().

func SecurityHeadersMiddleware

func SecurityHeadersMiddleware(next echo.HandlerFunc) echo.HandlerFunc

SecurityHeadersMiddleware adds common security headers (CSP, X-Frame, etc.).

Types

This section is empty.

Jump to

Keyboard shortcuts

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