Documentation
¶
Index ¶
- func CheckChargingKode(db *mongo.Database, chargingkode string) bool
- func CheckLatitudeLongitude(db *mongo.Database, latitude, longitude string) bool
- func DeleteChargingStationOlehAdmin(_id primitive.ObjectID, db *mongo.Database) error
- func GetAllChargingStation(db *mongo.Database) (charging []evcharging.ChargingStation, err error)
- func GetChargingStationFromID(_id primitive.ObjectID, db *mongo.Database) (doc evcharging.ChargingStation, err error)
- func GetChargingStationHandler(MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func HapusChargingStationHandler(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func Post(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func PostChargingStationOlehAdmin(db *mongo.Database, r *http.Request) (bson.M, error)
- func Put(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func PutChargingStationOlehAdmin(_id primitive.ObjectID, db *mongo.Database, r *http.Request) (bson.M, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLatitudeLongitude ¶
func GetAllChargingStation ¶
func GetAllChargingStation(db *mongo.Database) (charging []evcharging.ChargingStation, err error)
func GetChargingStationFromID ¶
func GetChargingStationFromID(_id primitive.ObjectID, db *mongo.Database) (doc evcharging.ChargingStation, err error)
func PostChargingStationOlehAdmin ¶
By Admin
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.