Documentation ¶
Index ¶
- Variables
- func Add(user authinterfaces.User) string
- func CheckUserPasswordForEmail(user string, password string) authinterfaces.User
- func CheckUserPasswordForUser(user string, password string) authinterfaces.User
- func Delete(user authinterfaces.User) bool
- func Demo() string
- func FindToEmail(email string) authinterfaces.User
- func FindToId(id string) authinterfaces.User
- func FindToNickName(nickName string) authinterfaces.User
- func GetListFromIdCompany(idCompany string) []authinterfaces.User
- func UpdateLastLogin(UserUpdate authinterfaces.User) bool
- func UpdateOne(UserUpdate authinterfaces.User) bool
- func UpdateOne1(UserUpdate authinterfaces.User) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientMongo *mongo.Client
Functions ¶
func Add ¶
func Add(user authinterfaces.User) string
func CheckUserPasswordForEmail ¶
func CheckUserPasswordForEmail(user string, password string) authinterfaces.User
func CheckUserPasswordForUser ¶
func CheckUserPasswordForUser(user string, password string) authinterfaces.User
func Delete ¶
func Delete(user authinterfaces.User) bool
func FindToEmail ¶
func FindToEmail(email string) authinterfaces.User
func FindToId ¶
func FindToId(id string) authinterfaces.User
func FindToNickName ¶
func FindToNickName(nickName string) authinterfaces.User
func GetListFromIdCompany ¶
func GetListFromIdCompany(idCompany string) []authinterfaces.User
func UpdateLastLogin ¶
func UpdateLastLogin(UserUpdate authinterfaces.User) bool
func UpdateOne ¶
func UpdateOne(UserUpdate authinterfaces.User) bool
func UpdateOne1 ¶
func UpdateOne1(UserUpdate authinterfaces.User) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.