//
pkg.gl
Category
github.com/GodKimba/cuddly-golang-server
pkg
jwt
package
0.0.0-20220515192650-9f6f249a52be
Repository:
https://github.com/godkimba/cuddly-golang-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2
Files
34 SLOC
#
Functions
GenerateToken
Generates jwt token and assign a username to it's claims and return it.
ParseToken
Parses a jwt token and returns the username in it's claims.
#
Variables
SecretKey
Secret key b eing used to sign tokens.