structs

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: GPL-3.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Construction

type Construction struct {
	Time    string
	WikiURL string
	// contains filtered or unexported fields
}

Construction represents the construction object

type ConstructionResponse

type ConstructionResponse struct {
	StatusCode    int
	StatusMessage string
	Message       string
	Construction  Construction
}

ConstructionResponse returns data from /build

type Miscellaneous

type Miscellaneous struct {
	Artist       MiscellaneousData
	Web          MiscellaneousData
	Pixiv        MiscellaneousData
	Twitter      MiscellaneousData
	VoiceActress MiscellaneousData
}

Miscellaneous links and names of artists that have worked on the ship

type MiscellaneousData

type MiscellaneousData struct {
	Link string
	Name string
}

MiscellaneousData link and name of artists

type Names

type Names struct {
	En string
	Cn string
	Jp string
	Kr string
}

Names the name of the ship in different languages

type Ship

type Ship struct {
	WikiURL          string
	ID               string
	Name             string
	Thumbnail        string
	Skins            []Skin
	BuildTime        string
	Rarity           string
	Stars            Stars
	Class            string
	Nationality      string
	NationalityShort string
	HullType         string
	Stats            Stats
	Miscellaneous    Miscellaneous
}

Ship represents an azur lane ship

type ShipResponse

type ShipResponse struct {
	StatusCode    int
	StatusMessage string
	Message       string
	Ship          Ship
}

ShipResponse returned data from /ship

type ShipsResponse

type ShipsResponse struct {
	StatusCode    int
	StatusMessage string
	Message       string
	Ships         []SmallShip
}

ShipsResponse returns data from /ships

type Skin

type Skin struct {
	Title string
	Image string
	Chibi string
}

Skin a specific ships skin

type SmallShip

type SmallShip struct {
	ID   string
	Name string
}

SmallShip ship but only the id and name

type Stars

type Stars struct {
	Value string
	Count int
}

Stars how many stars the ship starts with

type Stat

type Stat struct {
	Name  string
	Image string
	Value string
}

Stat represents a single stat object

type Stats

type Stats struct {
	Level100    []Stat
	Level120    []Stat
	Base        []Stat
	Retrofit100 []Stat
	Retrofit120 []Stat
}

Stats lists of the ships stats

Jump to

Keyboard shortcuts

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