Versions in this module Expand all Collapse all v1 v1.0.1 Oct 25, 2023 Changes in this version + 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 struct + Message string + Status bool + Token string + type User struct + ID primitive.ObjectID + Password string + Username string