Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertMessage ¶
type AlertMessage struct { ID string `json:"_id" bson:"_id"` Threshold float64 `json:"threshold" bson:"threshold"` CreatedAt time.Time `json:"created_at" bson:"created_at"` Cards []CardPriceAlert `json:"cards" bson:"cards"` }
type Card ¶
type Card struct { ID string `json:"id" bson:"id"` Name string `json:"name" bson:"name"` ScryfallURL string `json:"scryfall_uri" bson:"scryfall_uri"` TypeLine string `json:"type_line" bson:"type_line"` Colors []string `json:"colors" bson:"colors"` Rarity string `json:"rarity" bson:"rarity"` Set string `json:"set" bson:"set"` SetName string `json:"set_name" bson:"set_name"` Prices Price `json:"prices" bson:"prices"` }
type CardPriceAlert ¶
type CardPriceAlert struct { ID string `json:"id" bson:"id"` Name string `json:"name" bson:"name"` LastPrice float64 `json:"last_price" bson:"last_price"` NormalMovementMoney float64 `json:"normal_movement_money" bson:"normal_movement_money"` NormalMovementPercentage float64 `json:"normal_movement_percentage" bson:"normal_movement_percentage"` }
type PriceItem ¶
type PriceItem struct { PrintingType string `json:"printing_type" bson:"printingType"` MarketPrice float64 `json:"market_price" bson:"marketPrice"` BuylistMarketPrice float64 `json:"buylist_market_price" bson:"buylistMarketPrice"` ListedMedianPrice float64 `json:"listed_median_price" bson:"listedMedianPrice"` CreatedAt time.Time `json:"created_at" bson:"created_at"` }
Click to show internal directories.
Click to hide internal directories.