Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Store = sessions.NewCookieStore([]byte("secret-password"))
Store the cookie store which is going to store session data in the cookie
Functions ¶
func GetCurrentUserName ¶
GetCurrentUserName returns the username of the logged in user
func IsLoggedIn ¶
IsLoggedIn will check if the user has an active session and return True
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.