Documentation ¶
Index ¶
- func GetBestPrice(origin model.OriginInfo, destination model.DestinationInfo) (float64, error)
- func GetBestPriceForGivenDates(departureSkyScannerID string, arrivalSkyScannerID string, dates []string) (float64, error)
- func GetPriceForRoute(db *sql.DB, weekend string, origin string, destination string) (float64, error)
- func SearchOneWay(Departure_SkyScannerID string, Arrival_SkyScannerID string, date string) (float64, error)
- func UpdateSkyscannerPrices(origins []model.OriginInfo)
- type Itinerary
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBestPrice ¶
func GetPriceForRoute ¶
func GetPriceForRoute(db *sql.DB, weekend string, origin string, destination string) (float64, error)
Function to get price for a given pair of skyscanner IDs
func SearchOneWay ¶
func UpdateSkyscannerPrices ¶
func UpdateSkyscannerPrices(origins []model.OriginInfo)
Types ¶
Click to show internal directories.
Click to hide internal directories.