Documentation
¶
Overview ¶
Package user deletes, updates and returns an user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get tries to return logged user from the memcache first, if fails, tries to return logged user's datastore key from the memcache and then gets the logged user via that key from the datastore. Finally, if both atemps above fails, tries to get logged user via user's email which stores in the session struct. And also returns an error. In adition to those, adds one or both of the logged user and the logged user's key to the memcache if they are apsent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.