Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
CreateSession creates a session and stores into database
func ValidateSession ¶
func ValidateSession(seshCol *database.Collection, userCol *database.Collection, key string) (*objects.User, error)
ValidateSession finds the session key, returns true if it exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.