Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PublicKey = []byte("secret")
PublicKey set secret public key
Functions ¶
func CheckToken ¶
CheckToken checks if token is valid else returns error
Types ¶
type MyCustomClaims ¶
MyCustomClaims jwt claims with id
Click to show internal directories.
Click to hide internal directories.