//
pkg.gl
Category
github.com/terrapi-solution/controller
internal
middleware
auth
package
0.0.0-20241122232756-5abfebf3a4ab
Repository:
https://github.com/terrapi-solution/controller.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
162 SLOC
#
Functions
HasRole
HasRole middleware, depends on registration of auth.Validator.
ValidateToken
ValidateToken is a middleware to validate the JWT token sent by the client.