https://github.com/go-macaron/csrf
Package csrf is a middleware that generates and validates CSRF tokens for Macaron.
https://github.com/go-macaron/csrf
csrf go lsif-enabled macaron middleware
Last synced: 9 months ago
JSON representation
Package csrf is a middleware that generates and validates CSRF tokens for Macaron.
- Host: GitHub
- URL: https://github.com/go-macaron/csrf
- Owner: go-macaron
- License: apache-2.0
- Created: 2014-07-30T10:35:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T09:29:19.000Z (over 2 years ago)
- Last Synced: 2025-03-27T03:02:26.891Z (10 months ago)
- Topics: csrf, go, lsif-enabled, macaron, middleware
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 7
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csrf
[](https://github.com/go-macaron/csrf/actions?query=workflow%3AGo)
[](https://codecov.io/gh/go-macaron/csrf)
[](https://pkg.go.dev/github.com/go-macaron/csrf?tab=doc)
[](https://sourcegraph.com/github.com/go-macaron/csrf)
Middleware csrf generates and validates CSRF tokens for [Macaron](https://github.com/go-macaron/macaron).
### Installation
go get github.com/go-macaron/csrf
## Getting Help
- [API Reference](https://gowalker.org/github.com/go-macaron/csrf)
- [Documentation](https://go-macaron.com/middlewares/csrf)
## License
This project is under the Apache License, Version 2.0. See the [LICENSE](LICENSE) file for the full license text.