models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Art

type Art struct {
	Artist          string  "artist,omitempty"
	FullsizeImage   *string "fullsizeImage"
	MediumsizeImage string  "mediumsizeImage"
	ThumbnailImage  string  "thumbnailImage"
}

type Card

type Card struct {
	ID            bson.ObjectId     "_id,omitempty"
	Categories    *[]string         "categories,omitempty"
	Faction       string            "faction"
	Flavor        map[string]string "flavor,omitempty"
	Info          map[string]string "info,omitempty"
	Strength      *int              "strength,omitempty"
	Name          map[string]string "name"
	Loyalties     []string          "loyalties,omitempty"
	Positions     []string          "positions"
	Faction_id    bson.ObjectId     "faction_id,omitempty"
	Group         string            "group"
	Group_id      bson.ObjectId     "group_id,omitempty"
	Categories_id []bson.ObjectId   "categories_id,omitempty"
	UUID          []byte            "uuid"
	Last_Modified time.Time         "last_modified"
}

type Cost

type Cost struct {
	Normal  int
	Premium int
}

type GenericCollection

type GenericCollection struct {
	ID            bson.ObjectId "_id,omitempty"
	Name          string        `bson:"name"`
	UUID          []byte        `bson:"uuid"`
	Last_modified time.Time     `bson:"last_modified"`
}

type GwentArt

type GwentArt struct {
	Artist    string
	High      string
	Low       string
	Medium    string
	Original  string
	Thumbnail string
}

type GwentCard

type GwentCard struct {
	Categories []string
	Faction    string
	Flavor     map[string]string
	Info       map[string]string
	IngameId   string
	Loyalties  []string
	Name       map[string]string
	Positions  []string
	Released   bool
	Strength   int
	Group      string `json:"type"`
	Variations map[string]GwentVariation
}

type GwentCost

type GwentCost struct {
	Premium  int
	Standard int
}

type GwentVariation

type GwentVariation struct {
	Art          GwentArt
	Availability string
	Collectible  bool
	Craft        GwentCost
	Mill         GwentCost
	Rarity       string
	VariationId  string
}

type Variation

type Variation struct {
	ID            bson.ObjectId "_id,omitempty"
	Card_id       bson.ObjectId "card_id,omitempty"
	Rarity_id     bson.ObjectId "rarity_id,omitempty"
	UUID          []byte
	Availability  string
	Rarity        string
	Craft         Cost      "craft,omitempty"
	Mill          Cost      "mill,omitempty"
	Art           Art       "art,omitempty"
	Last_Modified time.Time "last_modified"
}

Jump to

Keyboard shortcuts

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