//
pkg.gl
Category
github.com/abiiranathan/rex
middleware
csrf
package
0.3.7
Repository:
https://github.com/abiiranathan/rex.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
115 SLOC
#
Functions
CreateToken
Generates a random CSRF token.
New
Middleware sets and verifies CSRF tokens using HTTP-only cookies and forms.
#
Variables
ErrInvalidToken
No description provided by the author
ErrMissingToken
No description provided by the author