Versions in this module Expand all Collapse all v0 v0.2.2 Feb 4, 2015 v0.2.1 Jan 28, 2015 Changes in this version + const CSRFKey + type CSRF interface + Check func(*http.Request, string) (bool, error) + Generate func(http.ResponseWriter, *http.Request) (string, error) + func NewCookieCSRF(name, path, domain string, secure, httponly bool) CSRF + func NewEmptyCSRF() CSRF + func NewSessionCSRF(store session.Store, name string) CSRF + type FakeCSRF struct + Err error + Token string + func (c *FakeCSRF) Check(req *http.Request, value string) (bool, error) + func (c *FakeCSRF) Generate(w http.ResponseWriter, req *http.Request) (string, error)