package
Version:
v0.0.0-...-cff06d4
Opens a new window with list of versions in this module.
Published: Sep 30, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Encode encodes a jwt token using data gotten from payload.
type Payload struct {
UserID string
}
Decode decodes a jwt token string.
If the jwt token is invalid it returns an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.