dbusers_service

package
v0.0.0-...-9d4902c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 Demo

func Demo() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL