Versions in this module Expand all Collapse all v1 v1.0.1 Oct 22, 2023 Changes in this version + func CheckPasswordHash(password, hash string) bool + func GCFHandler(MONGOCONNSTRINGENV, dbname, collectionname string) string + func GCFPostCoordinateLonLat(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string + func GCFPostHandler(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string + func GCFReturnStruct(DataStuct any) string + func HashPassword(password string) (string, error) + func InsertDataLonlat(mongoconn *mongo.Database, collection string, coordinate []float64, ...) (InsertedID interface{}) + func IsPasswordValid(mongoconn *mongo.Database, collection string, userdata User) bool + func SetConnection(MONGOCONNSTRINGENV, dbname string) *mongo.Database + type CoorLonLatProperties struct + Coordinates []float64 + Name string + Type string + Volume string + type Credential struct + Message string + Status bool + Token string + type GeoJson struct + Geometry Geometry + Properties Properties + Type string + func GetAllBangunanLineString(mongoconn *mongo.Database, collection string) []GeoJson + type GeoJsonLineString struct + Geometry GeometryLineString + Properties Properties + Type string + type GeoJsonPolygon struct + Geometry GeometryPolygon + Properties Properties + Type string + type Geometry struct + Coordinates interface{} + Type string + type GeometryLineString struct + Coordinates [][]float64 + Type string + type GeometryPoint struct + Coordinates []float64 + Type string + type GeometryPolygon struct + Coordinates [][][]float64 + Type string + type Properties struct + Name string + type User struct + Password string + Role string + Username string