Documentation
¶
Index ¶
- Constants
- type Alliance
- type AllianceIcon
- type Character
- type CharacterCorporationHistory
- type CharacterPortrait
- type Contract
- type ContractBid
- type ContractItem
- type Corporation
- type CorporationAllianceHistory
- type CorporationIcon
- type Killmail
- type KillmailAttacker
- type KillmailItem
- type KillmailStat
- type KillmailVictim
- type MarketGroup
- type MarketHistory
- type MarketOrder
- type MarketPrice
- type ServerStatus
- type UniverseAncestry
- type UniverseAstroidBelt
- type UniverseBloodline
- type UniverseCategory
- type UniverseConstellation
- type UniverseFaction
- type UniverseGraphic
- type UniverseGroup
- type UniverseMoon
- type UniversePlanet
- type UniverseRace
- type UniverseRegion
- type UniverseStar
- type UniverseStargate
- type UniverseStation
- type UniverseStationService
- type UniverseStructure
- type UniverseSystem
- type UniverseSystemJump
- type UniverseSystemKill
- type UniverseType
- type UniverseTypeDogmaAttribute
- type UniverseTypeDogmaEffect
Constants ¶
const TableNameAlliance = "alliance"
const TableNameAllianceIcon = "alliance_icon"
const TableNameCharacter = "character"
const TableNameCharacterCorporationHistory = "character_corporation_history"
const TableNameCharacterPortrait = "character_portrait"
const TableNameContract = "contract"
const TableNameContractBid = "contract_bid"
const TableNameContractItem = "contract_item"
const TableNameCorporation = "corporation"
const TableNameCorporationAllianceHistory = "corporation_alliance_history"
const TableNameCorporationIcon = "corporation_icon"
const TableNameKillmail = "killmail"
const TableNameKillmailAttacker = "killmail_attacker"
const TableNameKillmailItem = "killmail_item"
const TableNameKillmailStat = "killmail_stats"
const TableNameKillmailVictim = "killmail_victim"
const TableNameMarketGroup = "market_group"
const TableNameMarketHistory = "market_history"
const TableNameMarketOrder = "market_orders"
const TableNameMarketPrice = "market_price"
const TableNameServerStatus = "server_status"
const TableNameUniverseAncestry = "universe_ancestry"
const TableNameUniverseAstroidBelt = "universe_astroid_belt"
const TableNameUniverseBloodline = "universe_bloodlines"
const TableNameUniverseCategory = "universe_category"
const TableNameUniverseConstellation = "universe_constellation"
const TableNameUniverseFaction = "universe_faction"
const TableNameUniverseGraphic = "universe_graphics"
const TableNameUniverseGroup = "universe_group"
const TableNameUniverseMoon = "universe_moon"
const TableNameUniversePlanet = "universe_planet"
const TableNameUniverseRace = "universe_race"
const TableNameUniverseRegion = "universe_region"
const TableNameUniverseStar = "universe_star"
const TableNameUniverseStargate = "universe_stargate"
const TableNameUniverseStation = "universe_station"
const TableNameUniverseStationService = "universe_station_service"
const TableNameUniverseStructure = "universe_structure"
const TableNameUniverseSystem = "universe_system"
const TableNameUniverseSystemJump = "universe_system_jump"
const TableNameUniverseSystemKill = "universe_system_kill"
const TableNameUniverseType = "universe_type"
const TableNameUniverseTypeDogmaAttribute = "universe_type_dogma_attribute"
const TableNameUniverseTypeDogmaEffect = "universe_type_dogma_effect"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alliance ¶
type Alliance struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
CreatorCorporationID int32 `gorm:"column:creator_corporation_id;not null" json:"creator_corporation_id"`
CreatorID int32 `gorm:"column:creator_id;not null" json:"creator_id"`
DateFounded time.Time `gorm:"column:date_founded;not null" json:"date_founded"`
ExecutorCorporationID *int32 `gorm:"column:executor_corporation_id" json:"executor_corporation_id"`
FactionID *int32 `gorm:"column:faction_id" json:"faction_id"`
Name string `gorm:"column:name;not null" json:"name"`
Ticker string `gorm:"column:ticker;not null" json:"ticker"`
}
Alliance mapped from table <alliance>
type AllianceIcon ¶
type AllianceIcon struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Px128x128 string `gorm:"column:px128x128;not null" json:"px128x128"`
Px64x64 string `gorm:"column:px64x64;not null" json:"px64x64"`
}
AllianceIcon mapped from table <alliance_icon>
func (*AllianceIcon) TableName ¶
func (*AllianceIcon) TableName() string
TableName AllianceIcon's table name
type Character ¶
type Character struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
AllianceID *int32 `gorm:"column:alliance_id" json:"alliance_id"`
Birthday time.Time `gorm:"column:birthday;not null" json:"birthday"`
BloodlineID int32 `gorm:"column:bloodline_id;not null" json:"bloodline_id"`
CorporationID int32 `gorm:"column:corporation_id;not null" json:"corporation_id"`
Description *string `gorm:"column:description" json:"description"`
FactionID *int32 `gorm:"column:faction_id" json:"faction_id"`
Gender string `gorm:"column:gender;not null" json:"gender"`
Name string `gorm:"column:name;not null" json:"name"`
RaceID int32 `gorm:"column:race_id;not null" json:"race_id"`
SecurityStatus *float64 `gorm:"column:security_status" json:"security_status"`
Title *string `gorm:"column:title" json:"title"`
}
Character mapped from table <character>
type CharacterCorporationHistory ¶
type CharacterCorporationHistory struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
CorporationID int32 `gorm:"column:corporation_id;not null" json:"corporation_id"`
IsDeleted bool `gorm:"column:is_deleted;not null" json:"is_deleted"`
RecordID int32 `gorm:"column:record_id;primaryKey" json:"record_id"`
StartDate time.Time `gorm:"column:start_date;not null" json:"start_date"`
}
CharacterCorporationHistory mapped from table <character_corporation_history>
func (*CharacterCorporationHistory) TableName ¶
func (*CharacterCorporationHistory) TableName() string
TableName CharacterCorporationHistory's table name
type CharacterPortrait ¶
type CharacterPortrait struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Px128x128 string `gorm:"column:px128x128;not null" json:"px128x128"`
Px256x256 string `gorm:"column:px256x256;not null" json:"px256x256"`
Px512x512 string `gorm:"column:px512x512;not null" json:"px512x512"`
Px64x64 string `gorm:"column:px64x64;not null" json:"px64x64"`
}
CharacterPortrait mapped from table <character_portrait>
func (*CharacterPortrait) TableName ¶
func (*CharacterPortrait) TableName() string
TableName CharacterPortrait's table name
type Contract ¶
type Contract struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
Buyout *float64 `gorm:"column:buyout" json:"buyout"`
Collateral *float64 `gorm:"column:collateral" json:"collateral"`
DateCompleted *time.Time `gorm:"column:date_completed" json:"date_completed"`
DateExpired time.Time `gorm:"column:date_expired;not null" json:"date_expired"`
DateIssued time.Time `gorm:"column:date_issued;not null" json:"date_issued"`
DaysToComplete *int32 `gorm:"column:days_to_complete" json:"days_to_complete"`
EndLocationID *int64 `gorm:"column:end_location_id" json:"end_location_id"`
ForCorporation bool `gorm:"column:for_corporation;not null" json:"for_corporation"`
IssuerCorporationID int32 `gorm:"column:issuer_corporation_id;not null" json:"issuer_corporation_id"`
IssuerID int32 `gorm:"column:issuer_id;not null" json:"issuer_id"`
Price *float64 `gorm:"column:price" json:"price"`
Reward *float64 `gorm:"column:reward" json:"reward"`
StartLocationID *int64 `gorm:"column:start_location_id" json:"start_location_id"`
Status string `gorm:"column:status;not null" json:"status"`
Title *string `gorm:"column:title" json:"title"`
Type string `gorm:"column:type;not null" json:"type"`
Volume *float64 `gorm:"column:volume" json:"volume"`
}
Contract mapped from table <contract>
type ContractBid ¶
type ContractBid struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
Amount float64 `gorm:"column:amount;not null" json:"amount"`
BidID int32 `gorm:"column:bid_id;primaryKey" json:"bid_id"`
DateBid time.Time `gorm:"column:date_bid;not null" json:"date_bid"`
}
ContractBid mapped from table <contract_bid>
func (*ContractBid) TableName ¶
func (*ContractBid) TableName() string
TableName ContractBid's table name
type ContractItem ¶
type ContractItem struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
IsIncluded bool `gorm:"column:is_included;not null" json:"is_included"`
IsBlueprintCopy *bool `gorm:"column:is_blueprint_copy" json:"is_blueprint_copy"`
ItemID int64 `gorm:"column:item_id;not null" json:"item_id"`
MaterialEfficiency *int32 `gorm:"column:material_efficiency" json:"material_efficiency"`
Quantity int32 `gorm:"column:quantity;not null" json:"quantity"`
RecordID int32 `gorm:"column:record_id;primaryKey" json:"record_id"`
Runs *int32 `gorm:"column:runs" json:"runs"`
TimeEfficiency *int32 `gorm:"column:time_efficiency" json:"time_efficiency"`
}
ContractItem mapped from table <contract_item>
func (*ContractItem) TableName ¶
func (*ContractItem) TableName() string
TableName ContractItem's table name
type Corporation ¶
type Corporation struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
AllianceID *int32 `gorm:"column:alliance_id" json:"alliance_id"`
CeoID int32 `gorm:"column:ceo_id;not null" json:"ceo_id"`
CreatorID int32 `gorm:"column:creator_id;not null" json:"creator_id"`
DateFounded time.Time `gorm:"column:date_founded;not null" json:"date_founded"`
Description string `gorm:"column:description;not null" json:"description"`
FactionID *int32 `gorm:"column:faction_id" json:"faction_id"`
HomeStationID *int32 `gorm:"column:home_station_id" json:"home_station_id"`
MemberCount int32 `gorm:"column:member_count;not null" json:"member_count"`
Name string `gorm:"column:name;not null" json:"name"`
TaxRate float64 `gorm:"column:tax_rate;not null" json:"tax_rate"`
Ticker string `gorm:"column:ticker;not null" json:"ticker"`
URL *string `gorm:"column:url" json:"url"`
WarEligible bool `gorm:"column:war_eligible;not null" json:"war_eligible"`
}
Corporation mapped from table <corporation>
func (*Corporation) TableName ¶
func (*Corporation) TableName() string
TableName Corporation's table name
type CorporationAllianceHistory ¶
type CorporationAllianceHistory struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
AllianceID int32 `gorm:"column:alliance_id;not null" json:"alliance_id"`
IsDeleted bool `gorm:"column:is_deleted;not null" json:"is_deleted"`
RecordID int32 `gorm:"column:record_id;primaryKey" json:"record_id"`
StartDate time.Time `gorm:"column:start_date;not null" json:"start_date"`
}
CorporationAllianceHistory mapped from table <corporation_alliance_history>
func (*CorporationAllianceHistory) TableName ¶
func (*CorporationAllianceHistory) TableName() string
TableName CorporationAllianceHistory's table name
type CorporationIcon ¶
type CorporationIcon struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Px128x128 *string `gorm:"column:px128x128" json:"px128x128"`
Px256x256 *string `gorm:"column:px256x256" json:"px256x256"`
Px64x64 *string `gorm:"column:px64x64" json:"px64x64"`
}
CorporationIcon mapped from table <corporation_icon>
func (*CorporationIcon) TableName ¶
func (*CorporationIcon) TableName() string
TableName CorporationIcon's table name
type Killmail ¶
type Killmail struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
KillmailTime time.Time `gorm:"column:killmail_time;not null" json:"killmail_time"`
SolarSystemID int32 `gorm:"column:solar_system_id;not null" json:"solar_system_id"`
WarID *int64 `gorm:"column:war_id" json:"war_id"`
DamageTaken int32 `gorm:"column:damage_taken;not null" json:"damage_taken"`
TotalValue float64 `gorm:"column:total_value;not null" json:"total_value"`
}
Killmail mapped from table <killmail>
type KillmailAttacker ¶
type KillmailAttacker struct {
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
KillmailID int64 `gorm:"column:killmail_id;not null" json:"killmail_id"`
CharacterID *int32 `gorm:"column:character_id" json:"character_id"`
CorporationID *int32 `gorm:"column:corporation_id" json:"corporation_id"`
AllianceID *int32 `gorm:"column:alliance_id" json:"alliance_id"`
FactionID *int32 `gorm:"column:faction_id" json:"faction_id"`
DamageDone int32 `gorm:"column:damage_done;not null" json:"damage_done"`
FinalBlow bool `gorm:"column:final_blow;not null" json:"final_blow"`
SecurityStatus float64 `gorm:"column:security_status;not null" json:"security_status"`
WeaponTypeID *int32 `gorm:"column:weapon_type_id" json:"weapon_type_id"`
ShipTypeID *int32 `gorm:"column:ship_type_id" json:"ship_type_id"`
}
KillmailAttacker mapped from table <killmail_attacker>
func (*KillmailAttacker) TableName ¶
func (*KillmailAttacker) TableName() string
TableName KillmailAttacker's table name
type KillmailItem ¶
type KillmailItem struct {
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
KillmailID int64 `gorm:"column:killmail_id;not null" json:"killmail_id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
Flag int32 `gorm:"column:flag;not null" json:"flag"`
QuantityDestroyed *int32 `gorm:"column:quantity_destroyed" json:"quantity_destroyed"`
QuantityDropped *int32 `gorm:"column:quantity_dropped" json:"quantity_dropped"`
Singleton bool `gorm:"column:singleton;not null" json:"singleton"`
}
KillmailItem mapped from table <killmail_item>
func (*KillmailItem) TableName ¶
func (*KillmailItem) TableName() string
TableName KillmailItem's table name
type KillmailStat ¶
type KillmailStat struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
LocationID int32 `gorm:"column:location_id;not null" json:"location_id"`
Hash string `gorm:"column:hash;not null" json:"hash"`
FittedValue float64 `gorm:"column:fitted_value;not null" json:"fitted_value"`
DestroyedValue float64 `gorm:"column:destroyed_value;not null" json:"destroyed_value"`
DroppedValue float64 `gorm:"column:dropped_value;not null" json:"dropped_value"`
Href string `gorm:"column:href;not null" json:"href"`
}
KillmailStat mapped from table <killmail_stats>
func (*KillmailStat) TableName ¶
func (*KillmailStat) TableName() string
TableName KillmailStat's table name
type KillmailVictim ¶
type KillmailVictim struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
CharacterID int32 `gorm:"column:character_id;not null" json:"character_id"`
CorporationID int32 `gorm:"column:corporation_id;not null" json:"corporation_id"`
AllianceID *int32 `gorm:"column:alliance_id" json:"alliance_id"`
FactionID *int32 `gorm:"column:faction_id" json:"faction_id"`
}
KillmailVictim mapped from table <killmail_victim>
func (*KillmailVictim) TableName ¶
func (*KillmailVictim) TableName() string
TableName KillmailVictim's table name
type MarketGroup ¶
type MarketGroup struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Description string `gorm:"column:description;not null" json:"description"`
ParentGroupID *int32 `gorm:"column:parent_group_id" json:"parent_group_id"`
}
MarketGroup mapped from table <market_group>
func (*MarketGroup) TableName ¶
func (*MarketGroup) TableName() string
TableName MarketGroup's table name
type MarketHistory ¶
type MarketHistory struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
RegionID int32 `gorm:"column:region_id;primaryKey" json:"region_id"`
Date time.Time `gorm:"column:date;primaryKey" json:"date"`
Average float64 `gorm:"column:average;not null" json:"average"`
Highest float64 `gorm:"column:highest;not null" json:"highest"`
Lowest float64 `gorm:"column:lowest;not null" json:"lowest"`
OrderCount int64 `gorm:"column:order_count;not null" json:"order_count"`
Volume int64 `gorm:"column:volume;not null" json:"volume"`
}
MarketHistory mapped from table <market_history>
func (*MarketHistory) TableName ¶
func (*MarketHistory) TableName() string
TableName MarketHistory's table name
type MarketOrder ¶
type MarketOrder struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
RegionID int32 `gorm:"column:region_id;not null" json:"region_id"`
LocationID int64 `gorm:"column:location_id;not null" json:"location_id"`
Range string `gorm:"column:range;not null" json:"range"`
IsBuyOrder bool `gorm:"column:is_buy_order;not null" json:"is_buy_order"`
Price float64 `gorm:"column:price;not null" json:"price"`
VolumeTotal int32 `gorm:"column:volume_total;not null" json:"volume_total"`
VolumeRemain int32 `gorm:"column:volume_remain;not null" json:"volume_remain"`
Issued time.Time `gorm:"column:issued;not null" json:"issued"`
Duration int32 `gorm:"column:duration;not null" json:"duration"`
MinVolume int32 `gorm:"column:min_volume;not null" json:"min_volume"`
LastUpdated time.Time `gorm:"column:last_updated;not null" json:"last_updated"`
IsActive bool `gorm:"column:is_active;not null;default:true" json:"is_active"`
}
MarketOrder mapped from table <market_orders>
func (*MarketOrder) TableName ¶
func (*MarketOrder) TableName() string
TableName MarketOrder's table name
type MarketPrice ¶
type MarketPrice struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
AveragePrice float64 `gorm:"column:average_price;not null" json:"average_price"`
AdjustedPrice float64 `gorm:"column:adjusted_price;not null" json:"adjusted_price"`
Timestamp time.Time `gorm:"column:timestamp;primaryKey;default:now()" json:"timestamp"`
}
MarketPrice mapped from table <market_price>
func (*MarketPrice) TableName ¶
func (*MarketPrice) TableName() string
TableName MarketPrice's table name
type ServerStatus ¶
type ServerStatus struct {
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
Players int32 `gorm:"column:players;not null" json:"players"`
ServerVersion string `gorm:"column:server_version;not null" json:"server_version"`
StartTime time.Time `gorm:"column:start_time;not null" json:"start_time"`
Vip bool `gorm:"column:vip;not null" json:"vip"`
}
ServerStatus mapped from table <server_status>
func (*ServerStatus) TableName ¶
func (*ServerStatus) TableName() string
TableName ServerStatus's table name
type UniverseAncestry ¶
type UniverseAncestry struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
BloodlineID int32 `gorm:"column:bloodline_id;not null" json:"bloodline_id"`
Description string `gorm:"column:description;not null" json:"description"`
IconID *int32 `gorm:"column:icon_id" json:"icon_id"`
ShortDescription *string `gorm:"column:short_description" json:"short_description"`
}
UniverseAncestry mapped from table <universe_ancestry>
func (*UniverseAncestry) TableName ¶
func (*UniverseAncestry) TableName() string
TableName UniverseAncestry's table name
type UniverseAstroidBelt ¶
type UniverseAstroidBelt struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
}
UniverseAstroidBelt mapped from table <universe_astroid_belt>
func (*UniverseAstroidBelt) TableName ¶
func (*UniverseAstroidBelt) TableName() string
TableName UniverseAstroidBelt's table name
type UniverseBloodline ¶
type UniverseBloodline struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
CorporationID int32 `gorm:"column:corporation_id;not null" json:"corporation_id"`
Description string `gorm:"column:description;not null" json:"description"`
RaceID int32 `gorm:"column:race_id;not null" json:"race_id"`
ShipTypeID int32 `gorm:"column:ship_type_id;not null" json:"ship_type_id"`
Charisma int32 `gorm:"column:charisma;not null" json:"charisma"`
Intelligence int32 `gorm:"column:intelligence;not null" json:"intelligence"`
Memory int32 `gorm:"column:memory;not null" json:"memory"`
Perception int32 `gorm:"column:perception;not null" json:"perception"`
Willpower int32 `gorm:"column:willpower;not null" json:"willpower"`
Name string `gorm:"column:name;not null" json:"name"`
}
UniverseBloodline mapped from table <universe_bloodlines>
func (*UniverseBloodline) TableName ¶
func (*UniverseBloodline) TableName() string
TableName UniverseBloodline's table name
type UniverseCategory ¶
type UniverseCategory struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Published bool `gorm:"column:published;not null" json:"published"`
}
UniverseCategory mapped from table <universe_category>
func (*UniverseCategory) TableName ¶
func (*UniverseCategory) TableName() string
TableName UniverseCategory's table name
type UniverseConstellation ¶
type UniverseConstellation struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
RegionID int32 `gorm:"column:region_id;not null" json:"region_id"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
}
UniverseConstellation mapped from table <universe_constellation>
func (*UniverseConstellation) TableName ¶
func (*UniverseConstellation) TableName() string
TableName UniverseConstellation's table name
type UniverseFaction ¶
type UniverseFaction struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
CorporationID *int32 `gorm:"column:corporation_id" json:"corporation_id"`
Description string `gorm:"column:description;not null" json:"description"`
IsUnique bool `gorm:"column:is_unique;not null" json:"is_unique"`
MilitiaCorporationID *int32 `gorm:"column:militia_corporation_id" json:"militia_corporation_id"`
Name string `gorm:"column:name;not null" json:"name"`
SizeFactor float64 `gorm:"column:size_factor;not null" json:"size_factor"`
SolarSystemID *int32 `gorm:"column:solar_system_id" json:"solar_system_id"`
StationCount int32 `gorm:"column:station_count;not null" json:"station_count"`
StationSystemCount int32 `gorm:"column:station_system_count;not null" json:"station_system_count"`
}
UniverseFaction mapped from table <universe_faction>
func (*UniverseFaction) TableName ¶
func (*UniverseFaction) TableName() string
TableName UniverseFaction's table name
type UniverseGraphic ¶
type UniverseGraphic struct {
ID int32 `gorm:"column:id;not null" json:"id"`
CollisionFile *string `gorm:"column:collision_file" json:"collision_file"`
GraphicFile *string `gorm:"column:graphic_file" json:"graphic_file"`
IconFolder *string `gorm:"column:icon_folder" json:"icon_folder"`
SofDna *string `gorm:"column:sof_dna" json:"sof_dna"`
SofFationName *string `gorm:"column:sof_fation_name" json:"sof_fation_name"`
SofHullName *string `gorm:"column:sof_hull_name" json:"sof_hull_name"`
SofRaceName *string `gorm:"column:sof_race_name" json:"sof_race_name"`
}
UniverseGraphic mapped from table <universe_graphics>
func (*UniverseGraphic) TableName ¶
func (*UniverseGraphic) TableName() string
TableName UniverseGraphic's table name
type UniverseGroup ¶
type UniverseGroup struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
CategoryID int32 `gorm:"column:category_id;not null" json:"category_id"`
Name string `gorm:"column:name;not null" json:"name"`
Published bool `gorm:"column:published;not null" json:"published"`
}
UniverseGroup mapped from table <universe_group>
func (*UniverseGroup) TableName ¶
func (*UniverseGroup) TableName() string
TableName UniverseGroup's table name
type UniverseMoon ¶
type UniverseMoon struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
Name string `gorm:"column:name;not null" json:"name"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
}
UniverseMoon mapped from table <universe_moon>
func (*UniverseMoon) TableName ¶
func (*UniverseMoon) TableName() string
TableName UniverseMoon's table name
type UniversePlanet ¶
type UniversePlanet struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
Name string `gorm:"column:name;not null" json:"name"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
}
UniversePlanet mapped from table <universe_planet>
func (*UniversePlanet) TableName ¶
func (*UniversePlanet) TableName() string
TableName UniversePlanet's table name
type UniverseRace ¶
type UniverseRace struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
AllianceID int32 `gorm:"column:alliance_id;not null" json:"alliance_id"`
Description string `gorm:"column:description;not null" json:"description"`
Name string `gorm:"column:name;not null" json:"name"`
}
UniverseRace mapped from table <universe_race>
func (*UniverseRace) TableName ¶
func (*UniverseRace) TableName() string
TableName UniverseRace's table name
type UniverseRegion ¶
type UniverseRegion struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Description string `gorm:"column:description;not null" json:"description"`
}
UniverseRegion mapped from table <universe_region>
func (*UniverseRegion) TableName ¶
func (*UniverseRegion) TableName() string
TableName UniverseRegion's table name
type UniverseStar ¶
type UniverseStar struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Age int64 `gorm:"column:age;not null" json:"age"`
Luminosity float64 `gorm:"column:luminosity;not null" json:"luminosity"`
Radius int64 `gorm:"column:radius;not null" json:"radius"`
SolarSystemID int32 `gorm:"column:solar_system_id;not null" json:"solar_system_id"`
SpectralClass string `gorm:"column:spectral_class;not null" json:"spectral_class"`
Temperature int32 `gorm:"column:temperature;not null" json:"temperature"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
}
UniverseStar mapped from table <universe_star>
func (*UniverseStar) TableName ¶
func (*UniverseStar) TableName() string
TableName UniverseStar's table name
type UniverseStargate ¶
type UniverseStargate struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
DestinationStargateID int32 `gorm:"column:destination_stargate_id;not null" json:"destination_stargate_id"`
DestinationSystemID int32 `gorm:"column:destination_system_id;not null" json:"destination_system_id"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
}
UniverseStargate mapped from table <universe_stargate>
func (*UniverseStargate) TableName ¶
func (*UniverseStargate) TableName() string
TableName UniverseStargate's table name
type UniverseStation ¶
type UniverseStation struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Owner int32 `gorm:"column:owner;not null" json:"owner"`
MaxDockableShipVolume float64 `gorm:"column:max_dockable_ship_volume;not null" json:"max_dockable_ship_volume"`
OfficeRentalCost float64 `gorm:"column:office_rental_cost;not null" json:"office_rental_cost"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
RaceID int32 `gorm:"column:race_id;not null" json:"race_id"`
ReprocessingEfficiency float64 `gorm:"column:reprocessing_efficiency;not null" json:"reprocessing_efficiency"`
ReprocessingStationsTake float64 `gorm:"column:reprocessing_stations_take;not null" json:"reprocessing_stations_take"`
SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
}
UniverseStation mapped from table <universe_station>
func (*UniverseStation) TableName ¶
func (*UniverseStation) TableName() string
TableName UniverseStation's table name
type UniverseStationService ¶
type UniverseStationService struct {
StationID int32 `gorm:"column:station_id;primaryKey" json:"station_id"`
Service string `gorm:"column:service;primaryKey" json:"service"`
}
UniverseStationService mapped from table <universe_station_service>
func (*UniverseStationService) TableName ¶
func (*UniverseStationService) TableName() string
TableName UniverseStationService's table name
type UniverseStructure ¶
type UniverseStructure struct {
ID int64 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
OwnerID int32 `gorm:"column:owner_id;not null" json:"owner_id"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
SolarSystemID int32 `gorm:"column:solar_system_id;not null" json:"solar_system_id"`
TypeID int32 `gorm:"column:type_id;not null" json:"type_id"`
}
UniverseStructure mapped from table <universe_structure>
func (*UniverseStructure) TableName ¶
func (*UniverseStructure) TableName() string
TableName UniverseStructure's table name
type UniverseSystem ¶
type UniverseSystem struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
SecurityClass string `gorm:"column:security_class;not null" json:"security_class"`
SecurityStatus float64 `gorm:"column:security_status;not null" json:"security_status"`
ConstellationID int32 `gorm:"column:constellation_id;not null" json:"constellation_id"`
StarID int32 `gorm:"column:star_id;not null" json:"star_id"`
PositionX float64 `gorm:"column:position_x;not null" json:"position_x"`
PositionY float64 `gorm:"column:position_y;not null" json:"position_y"`
PositionZ float64 `gorm:"column:position_z;not null" json:"position_z"`
}
UniverseSystem mapped from table <universe_system>
func (*UniverseSystem) TableName ¶
func (*UniverseSystem) TableName() string
TableName UniverseSystem's table name
type UniverseSystemJump ¶
type UniverseSystemJump struct {
SystemID int32 `gorm:"column:system_id;primaryKey" json:"system_id"`
Timestamp time.Time `gorm:"column:timestamp;primaryKey;default:now()" json:"timestamp"`
ShipJumps int32 `gorm:"column:ship_jumps;not null" json:"ship_jumps"`
}
UniverseSystemJump mapped from table <universe_system_jump>
func (*UniverseSystemJump) TableName ¶
func (*UniverseSystemJump) TableName() string
TableName UniverseSystemJump's table name
type UniverseSystemKill ¶
type UniverseSystemKill struct {
SystemID int32 `gorm:"column:system_id;primaryKey" json:"system_id"`
Timestamp time.Time `gorm:"column:timestamp;primaryKey;default:now()" json:"timestamp"`
ShipKills int32 `gorm:"column:ship_kills;not null" json:"ship_kills"`
PodKills int32 `gorm:"column:pod_kills;not null" json:"pod_kills"`
NpcKills int32 `gorm:"column:npc_kills;not null" json:"npc_kills"`
}
UniverseSystemKill mapped from table <universe_system_kill>
func (*UniverseSystemKill) TableName ¶
func (*UniverseSystemKill) TableName() string
TableName UniverseSystemKill's table name
type UniverseType ¶
type UniverseType struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Description string `gorm:"column:description;not null" json:"description"`
Capacity float64 `gorm:"column:capacity;not null" json:"capacity"`
GraphicID *int32 `gorm:"column:graphic_id" json:"graphic_id"`
GroupID int32 `gorm:"column:group_id;not null" json:"group_id"`
IconID *int32 `gorm:"column:icon_id" json:"icon_id"`
MarketGroupID *int32 `gorm:"column:market_group_id" json:"market_group_id"`
Mass float64 `gorm:"column:mass;not null" json:"mass"`
PackagedVolume float64 `gorm:"column:packaged_volume;not null" json:"packaged_volume"`
PortionSize int32 `gorm:"column:portion_size;not null" json:"portion_size"`
Published bool `gorm:"column:published;not null" json:"published"`
Radius float64 `gorm:"column:radius;not null" json:"radius"`
Volume float64 `gorm:"column:volume;not null" json:"volume"`
}
UniverseType mapped from table <universe_type>
func (*UniverseType) TableName ¶
func (*UniverseType) TableName() string
TableName UniverseType's table name
type UniverseTypeDogmaAttribute ¶
type UniverseTypeDogmaAttribute struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
AttributeID int32 `gorm:"column:attribute_id;primaryKey" json:"attribute_id"`
Value float64 `gorm:"column:value;not null" json:"value"`
}
UniverseTypeDogmaAttribute mapped from table <universe_type_dogma_attribute>
func (*UniverseTypeDogmaAttribute) TableName ¶
func (*UniverseTypeDogmaAttribute) TableName() string
TableName UniverseTypeDogmaAttribute's table name
type UniverseTypeDogmaEffect ¶
type UniverseTypeDogmaEffect struct {
TypeID int32 `gorm:"column:type_id;primaryKey" json:"type_id"`
EffectID int32 `gorm:"column:effect_id;primaryKey" json:"effect_id"`
IsDefault bool `gorm:"column:is_default;not null" json:"is_default"`
}
UniverseTypeDogmaEffect mapped from table <universe_type_dogma_effect>
func (*UniverseTypeDogmaEffect) TableName ¶
func (*UniverseTypeDogmaEffect) TableName() string
TableName UniverseTypeDogmaEffect's table name
Source Files
¶
- alliance.gen.go
- alliance_icon.gen.go
- character.gen.go
- character_corporation_history.gen.go
- character_portrait.gen.go
- contract.gen.go
- contract_bid.gen.go
- contract_item.gen.go
- corporation.gen.go
- corporation_alliance_history.gen.go
- corporation_icon.gen.go
- killmail.gen.go
- killmail_attacker.gen.go
- killmail_item.gen.go
- killmail_stats.gen.go
- killmail_victim.gen.go
- market_group.gen.go
- market_history.gen.go
- market_orders.gen.go
- market_price.gen.go
- server_status.gen.go
- universe_ancestry.gen.go
- universe_astroid_belt.gen.go
- universe_bloodlines.gen.go
- universe_category.gen.go
- universe_constellation.gen.go
- universe_faction.gen.go
- universe_graphics.gen.go
- universe_group.gen.go
- universe_moon.gen.go
- universe_planet.gen.go
- universe_race.gen.go
- universe_region.gen.go
- universe_star.gen.go
- universe_stargate.gen.go
- universe_station.gen.go
- universe_station_service.gen.go
- universe_structure.gen.go
- universe_system.gen.go
- universe_system_jump.gen.go
- universe_system_kill.gen.go
- universe_type.gen.go
- universe_type_dogma_attribute.gen.go
- universe_type_dogma_effect.gen.go