Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWTMiddleware ¶
func JWTMiddleware() gin.HandlerFunc
JWTMiddleware parses JWT token from cookie and stores data and expires date to the context JWT Token can be passed as cookie, or Authorization header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.