Documentation ¶
Index ¶
- func CORSConfig(e *echo.Echo)
- func CORSMiddleware(next echo.HandlerFunc) echo.HandlerFunc
- func JWTMiddleware(jwtService domain.JWTService) echo.MiddlewareFunc
- func SetRequestContextWithTimeout(d time.Duration) echo.MiddlewareFunc
- func UserActivityMiddleware(svc domain.SocialNetworkService) echo.MiddlewareFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.