Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWTAuthorized ¶ added in v1.0.1
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) GetConfig ¶ added in v1.0.1
GetConfig returns the base pricing config @Summary Price config @Description price config @Product json @Success 200 {array} pricing.Config @Router /prices/config [get] @Tags prices
func (*API) LatestPrices ¶
LatestPrices returns latest prices @Summary Latest Prices @Description Latest Prices @Product json @Success 200 {array} pricing.LatestPrices @Router /prices [get] @Tags prices
func (*API) RegisterRoutes ¶
func (*API) UpdateConfig ¶ added in v1.0.1
UpdateConfig updates the pricing config @Summary update price config @Description update price config @Product json @Success 202 @Param config body pricing.Config true "config object" @Router /prices/config [post] @Tags prices
Click to show internal directories.
Click to hide internal directories.