Versions in this module Expand all Collapse all v0 v0.1.0 Nov 22, 2021 Changes in this version + var Store = sessions.NewCookieStore([]byte("secret-password")) + func GetCurrentUserName(r *http.Request) string + func GetFlashMessage(w http.ResponseWriter, r *http.Request, name string) string + func GetMessage(w http.ResponseWriter, r *http.Request) ([]byte, error) + func HasFlash(r *http.Request) bool + func SetFlashMessage(w http.ResponseWriter, r *http.Request, name string, value string) + func SetMessage(w http.ResponseWriter, msg string)