Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoggedin ¶
func GetLoggedin(w http.ResponseWriter, r *http.Request, user string, password string) (bool, error)
GetLoggedin Login the User & give him an identity (Cookie)
func GetLoggedout ¶
func GetLoggedout(w http.ResponseWriter, r *http.Request) bool
GetLoggedout Logout the User and clear session cookie returns true if the process went good otherwise it returns false
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.