Discover Packages
github.com/ovh/metronome
src
api
services
user
package
Version:
v0.0.0-...-52789aa
Opens a new window with list of versions in this module.
Published: Nov 23, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package usersrv handle user database operations.
Create a new user into the database.
Return true if the username already exist.
Edit a user in the database.
Return true if the username already exist.
Get a user from the database.
Return nil if the user is not found.
Login made a lookup on the database base on username and perform password comparaison.
It return nil if the username is unknown or the password mismatch.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.