Documentation
¶
Index ¶
Constants ¶
View Source
const CSRFHeader = "X-CSRF-Token"
Variables ¶
This section is empty.
Functions ¶
func CSRFMiddleware ¶
func CSRFMiddleware() gin.HandlerFunc
func CheckCSRFToken ¶
CheckCSRFToken check csrf token.
func SecureMiddleware ¶
func SecureMiddleware() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.