modulepackage
0.0.0-20241212185023-71624ff70169
Repository: https://github.com/mikeee/demo_gin-csrf.git
Documentation: pkg.go.dev
# README
demo_gin-csrf
Quick test of an example for a gin middleware that helps prevent csrf attacks
tl;dr
This creates a simple gin-powered server (running on port 8000) that implements utrack/gin-csrf with gin-contrib/sessions and has a complete test for it.
Usage
Feel free to run the main package and play around with it.
go run main.go
Testing:
go test -v