//
pkg.gl
Category
github.com/pattaravit/go-gin-rest-api
lib
middlewares
package
0.0.0-20180731101943-8a20eb4a6796
Repository:
https://github.com/pattaravit/go-gin-rest-api.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
0
Files
86 SLOC
#
Functions
Authorized
Authorized blocks unauthorized requestrs.
JWTMiddleware
JWTMiddleware parses JWT token from cookie and stores data and expires date to the context JWT Token can be passed as cookie, or Authorization header.