Versions in this module Expand all Collapse all v0 v0.0.2 Oct 27, 2023 v0.0.1 Oct 27, 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