package
2.1.1
Repository: https://github.com/elisasre/go-common.git
Documentation: pkg.go.dev

# Functions

New creates new CSRF middleware for gin.
RandomToken returns random sha256 string.

# Constants

Authorization is the header name which contains the token.
TokenCookieKey is the cookie name which contains the CSRF token.
nolint: gosec.