middleware

package
v0.0.0-...-ca5c5e0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeJWT

func AuthorizeJWT(jwtServ service.JWTService) gin.HandlerFunc

*

  • validating user token, return 401 if not valid

func BeforeAfterMiddleware

func BeforeAfterMiddleware() gin.HandlerFunc

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

func LogResponseBody

func LogResponseBody(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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