Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location int
const ( Unknown Location = -1 ThetfordMarket Location = 0 LymhurstMarket Location = 1000 BridgewatchMarket Location = 2000 BlackMarket Location = 3003 MartlockMarket Location = 3004 CaerleonMarket Location = 3005 FortSterlingMarket Location = 4000 SwampCrossMarket Location = 4 ForestCrossMarket Location = 1006 SteppeCrossMarket Location = 2002 HighlandCrossMarket Location = 3002 MountainCrossMarket Location = 4006 )
func NewLocationFromId ¶
type ModelGoldprices ¶
func (ModelGoldprices) TableName ¶
func (m ModelGoldprices) TableName() string
type ModelMarketOrder ¶
type ModelMarketOrder struct { AlbionID uint `gorm:"not null;unique_index"` ItemID string `gorm:"index:item_id,main"` QualityLevel int8 `gorm:"size:1"` EnchantmentLevel int8 `gorm:"size:1"` Price int InitialAmount int Amount int AuctionType string `gorm:"index:main"` Expires time.Time Location Location `gorm:"not null;index:main"` ID uint `gorm:"primary_key"` CreatedAt time.Time UpdatedAt time.Time `gorm:"index:item_id,main"` DeletedAt *time.Time `gorm:"index:item_id,main"` }
func NewModelMarketOrder ¶
func NewModelMarketOrder() ModelMarketOrder
func (ModelMarketOrder) TableName ¶
func (m ModelMarketOrder) TableName() string
type ModelMarketStats ¶
type ModelMarketStats struct { ID int `gorm:"primary_key"` ItemID string `gorm:"index"` Location Location `gorm:"index"` PriceMin int PriceMax int PriceAvg float64 Timestamp *time.Time `gorm:"index"` }
func (ModelMarketStats) TableName ¶
func (m ModelMarketStats) TableName() string
Click to show internal directories.
Click to hide internal directories.