Documentation ¶
Index ¶
- func Box(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func Center(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func CenterSphere(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func DeleteComics(mconn *mongo.Database, collname string, userdata models.Comics) interface{}
- func DeleteUser(mconn *mongo.Database, collname string, userdata models.Users) interface{}
- func FindUser(mconn *mongo.Database, collname string, userdata models.Users) models.Users
- func GeoIntersects(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func GeoWithin(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func GeojsonNameString(geojson []models.FullGeoJson) (result string)
- func GetAllBangunan(mconn *mongo.Database, collname string) ([]models.GeoJson, error)
- func GetAllComics(mconn *mongo.Database, collname string) ([]models.Comics, error)
- func GetAllFilteredComics(mconn *mongo.Database, collname string, datacomics models.Comics) ([]models.Comics, error)
- func GetAllUser(mconn *mongo.Database, collname string) ([]models.Users, error)
- func GetOneComics(mconn *mongo.Database, collname string, userdata models.Comics) models.Comics
- func InsertComics(mongoenv *mongo.Database, collname string, datauser models.Comics) (interface{}, error)
- func InsertUser(mongoenv *mongo.Database, collname string, datauser models.Users) (interface{}, error)
- func IsPasswordValid(mconn *mongo.Database, collname string, userdata models.Users) bool
- func Near(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func NearSphere(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
- func PostLinestring(mconn *mongo.Database, collection string, ...) (interface{}, error)
- func PostPoint(mconn *mongo.Database, collection string, pointdata models.GeoJsonPoint) (interface{}, error)
- func PostPolygon(mconn *mongo.Database, collection string, polygondata models.GeoJsonPolygon) (interface{}, error)
- func SetConnection(mongoenv, dbname string) *mongo.Database
- func SetConnection2dsphere(mongoenv, dbname, collname string) *mongo.Database
- func SetConnectionPostgres(host, user, password, dbname, port, ssl string) *sql.DB
- func UpdateComics(mconn *mongo.Database, collname string, datauser models.Comics) interface{}
- func UpdateUser(mconn *mongo.Database, collname string, datauser models.Users) interface{}
- func UsernameExists(mconn *mongo.Database, collname string, userdata models.Users) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Box ¶
func Box(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func Center ¶ added in v1.0.8
func Center(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func CenterSphere ¶ added in v1.0.8
func CenterSphere(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func DeleteComics ¶ added in v1.2.1
func DeleteUser ¶
func GeoIntersects ¶
func GeoIntersects(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func GeoWithin ¶
func GeoWithin(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func GeojsonNameString ¶ added in v1.1.4
func GeojsonNameString(geojson []models.FullGeoJson) (result string)
func GetAllBangunan ¶
func GetAllComics ¶ added in v1.2.1
func GetAllFilteredComics ¶ added in v1.2.1
func GetOneComics ¶ added in v1.2.1
func InsertComics ¶ added in v1.2.1
func InsertUser ¶
func IsPasswordValid ¶
func Near ¶
func Near(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func NearSphere ¶
func NearSphere(mconn *mongo.Database, collname string, geospatial models.Geospatial) ([]models.FullGeoJson, error)
func PostLinestring ¶
func PostPolygon ¶
func SetConnection ¶
func SetConnection2dsphere ¶
func SetConnectionPostgres ¶ added in v1.2.1
func UpdateComics ¶ added in v1.2.1
func UpdateUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.