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 ¶ added in v0.0.2
func GCFPostHandler ¶ added in v0.0.2
func GCFReturnStruct ¶ added in v0.0.2
func HashPassword ¶ added in v0.0.2
func InsertUser ¶ added in v0.0.2
func IsPasswordValid ¶ added in v0.0.2
func SetConnection ¶ added in v0.0.2
Types ¶
type Credential ¶
Click to show internal directories.
Click to hide internal directories.