Files
eve-clickhouse-scraper/types.go

27 lines
681 B
Go

package main
import "time"
type MarketResponse []MarketResponseElement
type MarketResponseElement struct {
Duration int64 `json:"duration"`
IsBuyOrder bool `json:"is_buy_order"`
Issued time.Time `json:"issued"`
LocationID int64 `json:"location_id"`
MinVolume int64 `json:"min_volume"`
OrderID int64 `json:"order_id"`
Price float64 `json:"price"`
Range Range `json:"range"`
SystemID int64 `json:"system_id"`
TypeID int64 `json:"type_id"`
VolumeRemain int64 `json:"volume_remain"`
VolumeTotal int64 `json:"volume_total"`
}
type Range string
const (
Region Range = "region"
)