middleware

package
v0.0.0-...-53c125d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeJWT

func AuthorizeJWT() func(next http.Handler) http.Handler

AuthorizeJWT is a middleware for verifying JWT tokens.

func CORSMiddleware

func CORSMiddleware() func(next http.Handler) http.Handler

func GetI18n

func GetI18n(r *http.Request) interface{}

GetI18n

func TranslationMiddleware

func TranslationMiddleware() func(next http.Handler) http.Handler

TranslationMiddleware es un middleware que configura el localizador basado en el encabezado "Accept-Language".

Types

This section is empty.

Jump to

Keyboard shortcuts

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