Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func GCFPostHandler(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string
- func GCFReturnStruct(DataStuct any) string
- func HashPassword(password string) (string, error)
- func InsertUser(db *mongo.Database, collection string, userdata User) string
- func IsPasswordValid(mongoconn *mongo.Database, collection string, userdata User) bool
- func SetConnection(MONGOCONNSTRINGENV, dbname string) *mongo.Database
- type Credential
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func GCFPostHandler ¶
func GCFReturnStruct ¶
func HashPassword ¶
func IsPasswordValid ¶
func SetConnection ¶
Types ¶
type Credential ¶
Click to show internal directories.
Click to hide internal directories.