model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Agents = "agents"

Agents is a constant for NameByID

View Source
const Alliances = "alliances"

Alliances is a constant for NameByID

View Source
const Characters = "characters"

Characters is a constant for NameByID

View Source
const Constellations = "constellations"

Constellations is a constant for NameByID

View Source
const Corporations = "corporations"

Corporations is a constant for NameByID

View Source
const Factions = "factions"

Factions is a constant for NameByID

View Source
const InventoryTypes = "inventory_types"

InventoryTypes is a constant for NameByID

View Source
const Regions = "regions"

Regions is a constant for NameByID

View Source
const Systems = "systems"

Systems is a constant for NameByID

Variables

This section is empty.

Functions

This section is empty.

Types

type NameTuple

type NameTuple struct {
	ID   *int    `json:"id"`
	Name *string `json:"name"`
}

NameTuple is a representation of a name as it relates to an ID.

type Names

type Names struct {
	Agents         []*NameTuple `json:"agents"`
	Alliances      []*NameTuple `json:"alliances"`
	Characters     []*NameTuple `json:"characters"`
	Constellations []*NameTuple `json:"constellations"`
	Corporations   []*NameTuple `json:"corporations"`
	Factions       []*NameTuple `json:"factions"`
	InventoryTypes []*NameTuple `json:"inventory_types"`
	Regions        []*NameTuple `json:"regions"`
	Systems        []*NameTuple `json:"systems"`
}

Names is a struct of possible types of Names that can be returned for IDs

Jump to

Keyboard shortcuts

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