package
0.0.0-20240105174013-6c8c8067098a
Repository: https://github.com/gauravmakhijani/notes.git
Documentation: pkg.go.dev
# Functions
GenerateToken generates a JWT token for the given user.
GetUserInfoFromToken Validates JWT and returns the userInfo struct.
ParseToken validates and parses the given JWT returning the claims.