Documentation
¶
Index ¶
- func ChargeCar(idchargingstation, iduser primitive.ObjectID, db *mongo.Database, ...) (bson.M, error)
- func ChargeHandler(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func CheckAvailable(db *mongo.Database, idchargingstation primitive.ObjectID) (bool, error)
- func GetAllChargeByUser(iduser primitive.ObjectID, db *mongo.Database) (charge []evcharging.Charge, err error)
- func GetChargeFromID(_id primitive.ObjectID, db *mongo.Database) (charge evcharging.Charge, err error)
- func GetChargeHandler(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func PaymentAndStatusChargeHandler(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func ProcessPayment(_id, iduser primitive.ObjectID, db *mongo.Database, ...) (bson.M, error)
- func ProcessStatus(_id, iduser primitive.ObjectID, db *mongo.Database, ...) (bson.M, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChargeHandler ¶
func CheckAvailable ¶
func GetAllChargeByUser ¶
func GetChargeFromID ¶
func GetChargeHandler ¶
func ProcessPayment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.