Documentation ¶
Index ¶
- func Auth(c *gin.Context)
- func AuthError(code int, message string, c *gin.Context)
- func GenerateToken(payload map[string]string) (string, error)
- func GetKey(c *gin.Context)
- func ParseToken(myToken string) (jwt.MapClaims, error)
- func SampleGenerateToken(mySigningKey []byte) (string, error)
- func SessionCheck(token string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseToken ¶
func SampleGenerateToken ¶
func SessionCheck ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.