Documentation ¶
Overview ¶
Package loginController contains all functions regarding user authentication and registration. NOTE : this is a part of a set of user controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectedUsers ¶
GetConnectedUsers get the number of connected users.
func GetUserIDFromSessionToken ¶
GetUserIDFromSessionToken gets the user ID from session token.
Returns error if not found in cache.
func HandleAuth ¶
HandleAuth handles the authentication of the user for the system.
func HandleRegistration ¶
HandleRegistration handles the registration of a user for the system.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.