//
pkg.gl
Category
github.com/gilperopiola/go-rest-example
pkg
common
auth
package
3.1.0+incompatible
Repository:
https://github.com/gilperopiola/go-rest-example.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
7
Dependents
8
Files
137 SLOC
#
Functions
GenerateToken
No description provided by the author
ValidateToken
ValidateToken validates a token for a specific role and sets ID and Email in context.
#
Constants
AdminRole
No description provided by the author
AnyRole
No description provided by the author
UserRole
No description provided by the author
#
Structs
CustomClaims
No description provided by the author
#
Type aliases
Role
No description provided by the author