middleware

package
v0.0.0-...-1c7db09 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AcceptLanguageContextKey contextKey = "accept-language"

Variables

This section is empty.

Functions

func ContextInjector

func ContextInjector(cfg *config.Config, logger log.Logger) echo.MiddlewareFunc

func DebugMiddleware

func DebugMiddleware(next echo.HandlerFunc) echo.HandlerFunc

Debug dump request middleware

func I18nMiddleware

func I18nMiddleware(defaultLang i18n.Language) echo.MiddlewareFunc

func RequestLoggerMiddleware

func RequestLoggerMiddleware(next echo.HandlerFunc) echo.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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