Documentation ¶
Overview ¶
Package sessions resolves session related issues
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CsrfToken ¶
func CsrfToken(w http.ResponseWriter, r *http.Request)
CsrfToken will generate a CSRF Token
func GoodSession ¶
GoodSession returns true or false depending on if the session is active
func ValidSession ¶
func ValidSession(w http.ResponseWriter, r *http.Request)
ValidSession checks that the session is valid and can user can make requests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.