//
pkg.gl
Category
github.com/swfrench/simple-session
internal
token
v0
package
0.5.0
Repository:
https://github.com/swfrench/simple-session.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
1
Files
63 SLOC
#
Functions
Create
Create returns an authenticated token string for the provided payload byte sequence (e.g., an arbitrary identifier).
Verify
Verify checks the authenticity of the provided token given the associated key and extracts the payload byte sequence therein.
#
Constants
Version
Version is the version identifier prefix for this token implementation.