middleware

package
v0.0.0-...-4e6b843 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSConfig

func CORSConfig(e *echo.Echo)

CORSConfig will configure CORS properly

func CORSMiddleware

func CORSMiddleware(next echo.HandlerFunc) echo.HandlerFunc

CORSMiddleware will handle the CORSMiddleware middleware

func JWTMiddleware

func JWTMiddleware(jwtService domain.JWTService) echo.MiddlewareFunc

func SetRequestContextWithTimeout

func SetRequestContextWithTimeout(d time.Duration) echo.MiddlewareFunc

SetRequestContextWithTimeout will set the request context with timeout for every incoming HTTP Request

func UserActivityMiddleware

func UserActivityMiddleware(svc domain.SocialNetworkService) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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