Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Credits int `json:"credits"`
Loans []PurchasedLoan `json:"loans"`
Ships []OwnedShip `json:"ships"`
Username string `json:"username"`
}
type FlightPlan ¶
type FlightPlan struct {
ArrivesAt time.Time `json:"arrivesAt"`
Destination string `json:"destination"`
FuelConsumed int `json:"fuelConsumed"`
FuelRemaining int `json:"fuelRemaining"`
ID string `json:"id"`
ShipID string `json:"ship"`
TerminatedAt time.Time `json:"terminatedAt"`
TimeRemainingInSeconds int `json:"timeRemainingInSeconds"`
}
type OwnedShip ¶
type OwnedShip struct {
Cargo []Cargo `json:"cargo"`
Class string `json:"class"`
ID string `json:"id"`
Location string `json:"location"`
Manufacturer string `json:"manufacturer"`
MaxCargo int `json:"maxCargo"`
Plating int `json:"plating"`
SpaceAvailable int `json:"spaceAvailable"`
Speed Modifier `json:"speed"`
Type string `json:"type"`
Weapons int `json:"weapons"`
}
type PurchaseLocation ¶
type PurchasedLoan ¶
type Ship ¶
type Ship struct {
Class string `json:"class"`
DockingEfficiency Modifier `json:"dockingEfficiency"`
FuelEfficiency Modifier `json:"fuelEfficiency"`
Maintenance Modifier `json:"maintenance"`
Manufacturer string `json:"manufacturer"`
MaxCargo int `json:"maxCargo"`
Plating int `json:"plating"`
Speed Modifier `json:"speed"`
Type string `json:"type"`
Weapons int `json:"weapons"`
PurchaseLocation []PurchaseLocation `json:"purchaseLocations"`
}
Click to show internal directories.
Click to hide internal directories.