//
pkg.gl
Category
github.com/MowlCoder/go-url-shortener
internal
jwt
package
0.0.0-20240215220921-7b5a127e6df5
Repository:
https://github.com/mowlcoder/go-url-shortener.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2
Files
55 SLOC
#
Functions
GenerateToken
GenerateToken generate JWT token with payload containing given user id.
ParseToken
ParseToken parsing JWT token and return JWT payload.
#
Structs
Claims
Claims is JWT payload.