package
Version:
v0.0.0-...-f046a2d
Opens a new window with list of versions in this module.
Published: Mar 13, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
JWTAuthMiddleware is the middleware to authorize JWT tokens
type MyClaims struct {
jwt.StandardClaims
ID string `json:"id"`
Phone string `json:"phone"`
Role string `json:"role"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.