Versions in this module Expand all Collapse all v1 v1.0.0 Feb 22, 2020 Changes in this version + const CookieName + const HeaderName + func AddCSRFProtection(w http.ResponseWriter, r *http.Request) (string, error) + func CryptoRandomHex(len int) (string, error) + func ExtractTokenFromCookie(r *http.Request) (string, error) + func VerifyHTTPHeader(r *http.Request) error + func VerifyToken(token string, r *http.Request) error