//
pkg.gl
Category
github.com/amar-jay/go-api-boilerplate
middleware
package
0.0.0-20240428191354-5b5eceeed469
Repository:
https://github.com/amar-jay/go-api-boilerplate.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
83 SLOC
#
Functions
RequireTobeloggedIn
Checks if user is has a valid token.
SetUserContext
set contex when user has a valid token.
#
Structs
Claim
Claims struct represents the claims in a JWT.