Versions in this module Expand all Collapse all v0 v0.0.2 Nov 13, 2023 v0.0.1 Nov 13, 2023 Changes in this version + func DeleteDataGeo(Mongoenv, dbname string, ctx context.Context, val LonLatProperties) (DeletedId interface{}) + func GCFDeleteLon(publickey, Mongostring, dbname string, r *http.Request) string + func GCFPostCoordinate(Mongostring, Publickey, dbname, colname string, r *http.Request) string + func GCFUpdateName(publickey, Mongostring, dbname string, r *http.Request) string + func GCHandlerFunc(publickey, Mongostring, dbname, colname string, r *http.Request) string + func GetConnectionMongo(MongoString, dbname string) *mongo.Database + func InsertDataLonlat(MongoConn *mongo.Database, colname string, coordinate []float64, ...) (InsertedID interface{}) + func IsExist(Tokenstr, PublicKey string) bool + func Login(Privatekey, MongoEnv, dbname, Colname string, r *http.Request) string + func Register(Mongoenv, dbname string, r *http.Request) string + func ReturnStringStruct(Data any) string + func UpdateNameGeo(Mongoenv, dbname string, ctx context.Context, val LonLatProperties) (UpdateID interface{}) + type Credents struct + Message string + Status string + type GeoJson struct + Geometry Geometry + Properties Properties + Type string + func GetAllGeoData(MongoConnect *mongo.Database, colname 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 LonLatProperties struct + Coordinates []float64 + Name string + Type string + Volume string + type Properties struct + Name string + type RegisterStruct struct + Password string + Username string