models

package
v0.0.0-...-5d073b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkOfFit

func LinkOfFit(fit ShipFit) string

func TypeIDByName

func TypeIDByName(name string) string

Types

type EVEType

type EVEType struct {
	TypeID string `bson:"_id" json:"typeID"`
	Name   string `json:"name"`
	Amount int
}

type ShipFit

type ShipFit struct {
	Name  string    `bson:"name" json:"name"`
	Ship  EVEType   `bson:"ship" json:"ship"`
	Items []EVEType `bson:"items,omitempty" json:"items"`
}

func ParseFit

func ParseFit(fitStr string) ShipFit

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL