Documentation ¶
Index ¶
- Variables
- func CreateSecureCookie(u *models.User, sessionID string, w http.ResponseWriter, r *http.Request) error
- func CreateUserSession(u *models.User, sessionID string, w http.ResponseWriter, r *http.Request) error
- func ExpireSecureCookie(w http.ResponseWriter, r *http.Request)
- func ExpireUserSession(w http.ResponseWriter, r *http.Request)
- func ReadSecureCookieValues(w http.ResponseWriter, r *http.Request) (map[string]string, error)
- func VerifyCredentials(e *common.Env, username string, password string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var SessionStore *sessions.FilesystemStore
Functions ¶
func CreateSecureCookie ¶
func CreateUserSession ¶
func ExpireSecureCookie ¶
func ExpireSecureCookie(w http.ResponseWriter, r *http.Request)
func ExpireUserSession ¶
func ExpireUserSession(w http.ResponseWriter, r *http.Request)
func ReadSecureCookieValues ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.