Documentation ¶
Index ¶
- func GetBeerOffer(c *fiber.Ctx) error
- func GetCollectorData(domains []string) []string
- func GetDigitecOffer(c *fiber.Ctx) error
- func GetGalaxusOffer(c *fiber.Ctx) error
- func GetQlockOffer(c *fiber.Ctx) error
- func GetQookingOffer(c *fiber.Ctx) error
- func GetQoqaOffer(c *fiber.Ctx) error
- func GetQsportOffer(c *fiber.Ctx) error
- func GetQwineOffer(c *fiber.Ctx) error
- type GalaxusProduct
- type QoqaProduct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBeerOffer ¶
func GetBeerOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from Qbeer @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qbeer [get]
func GetCollectorData ¶
func GetDigitecOffer ¶
func GetDigitecOffer(c *fiber.Ctx) error
Galaxus godoc @Summary Get current deal from Digitec @Description receive the promotion of the day @Tags Galaxus 🐢 @Produce json @Success 200 {object} controllers.GalaxusProduct @Router /deals/digitec [get]
func GetGalaxusOffer ¶
func GetGalaxusOffer(c *fiber.Ctx) error
Galaxus godoc @Summary Get current deal from Galaxus @Description receive the promotion of the day @Tags Galaxus 🐢 @Produce json @Success 200 {object} controllers.GalaxusProduct @Router /deals/galaxus [get]
func GetQlockOffer ¶
func GetQlockOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from Qlock @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qlock [get]
func GetQookingOffer ¶
func GetQookingOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from Qooking @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qooking [get]
func GetQoqaOffer ¶
func GetQoqaOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from QoQa @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qoqa [get]
func GetQsportOffer ¶
func GetQsportOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from Qsport @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qsport [get]
func GetQwineOffer ¶
func GetQwineOffer(c *fiber.Ctx) error
Qoqa godoc @Summary Get current deal from Qwine @Description receive the promotion of the day @Tags Qoqa 🦦 @Produce json @Success 200 {object} controllers.QoqaProduct @Router /deals/qwine [get]
Types ¶
type GalaxusProduct ¶
type QoqaProduct ¶
type QoqaProduct struct { Store string `json:"store"` Title string `json:"title"` Subtitle string `json:"subtitle"` Url string `json:"url"` RemainingStock int64 `json:"remaining_stock"` Stock int `json:"stock"` OfferPrice string `json:"offer_price"` RegularPrice string `json:"regular_price"` ImageUrl string `json:"image_url"` }