Documentation
¶
Index ¶
- func AddJourney(c *gin.Context)
- func AddVoucher(c *gin.Context)
- func AutocompleteLocation(c *gin.Context)
- func DeletePartnerById(c *gin.Context)
- func DeletePurchaseById(c *gin.Context)
- func DeleteUserById(c *gin.Context)
- func DeleteVoucherById(c *gin.Context)
- func FindAllJourneys(c *gin.Context)
- func FindAllPurchases(c *gin.Context)
- func FindForecast(c *gin.Context)
- func FindJourneyById(c *gin.Context)
- func FindPartnerById(c *gin.Context)
- func FindPartners(c *gin.Context)
- func FindPurchaseById(c *gin.Context)
- func FindRoutes(c *gin.Context)
- func FindUserById(c *gin.Context)
- func FindUsers(c *gin.Context)
- func FindVoucherByVoucherId(c *gin.Context)
- func FindVouchers(c *gin.Context)
- func GetForecastTemperatureFromBiqQuery() map[string][]Forecast
- func GetPurchase(c *gin.Context)
- func LoginPartner(c *gin.Context)
- func LoginUser(c *gin.Context)
- func PurchaseVoucher(c *gin.Context)
- func RefreshTokenPartner(c *gin.Context)
- func RefreshTokenUser(c *gin.Context)
- func RegisterPartner(c *gin.Context)
- func RegisterUser(c *gin.Context)
- func UpdateUserById(c *gin.Context)
- func UpdateVoucherById(c *gin.Context)
- type Body
- type BodyRoutes
- type Forecast
- type ForecastAPIBody
- type Forecasts
- type Locations
- type M
- type ResponseAutoComplete
- type ReturnPurchase
- type RoutesWithCarbonCalculated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutocompleteLocation ¶
GET /autocomplete update user data with userid
func DeletePartnerById ¶
DELETE /Partner/:partnerid Delete Partner By ID
func DeletePurchaseById ¶
DELETE /voucher/:voucherId Delete Partner By ID
func DeleteUserById ¶
DELETE /user/:userid Delete user data with userid
func DeleteVoucherById ¶
DELETE /voucher/:voucherId Delete Partner By ID
func FindForecast ¶
POST /forecast?destination=""&arrivedHour="" update user data with userid
func FindJourneyById ¶
GET /journey/:journeyId get All user journey
func FindPartnerById ¶
GET /Partner/:partnerid Get Partner By ID
func FindPurchaseById ¶
GET /purchase/:purchaseId GET purchase By purchaseId
func FindRoutes ¶
POST /routes GET routes based on origin and destination
func FindVoucherByVoucherId ¶
GET /voucher/:voucherId GET Partner By Voucher ID
func GetPurchase ¶
GET user/purchase/:userId Get Purchase based on user id
func LoginPartner ¶
func RefreshTokenPartner ¶
GET /partner/login/refresh give old token, return refreshed new token
func UpdateUserById ¶
PUT /user/:userid update user data with userid
func UpdateVoucherById ¶
PUT /voucher/:userid update voucher data by partner
Types ¶
type BodyRoutes ¶
type ForecastAPIBody ¶
type ResponseAutoComplete ¶
type ResponseAutoComplete struct {
// contains filtered or unexported fields
}