model

package
v0.18.0-e9de45e Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameCode added in v0.1.0

type GameCode struct {
	GameCode string
}

type Map

type Map struct {
	GameType string
	Board    map[string][]*model.Tile
	GameCode string
	Error    string
}

Map the Catan Map, a wrapper around the Game Board

type MapLegend

type MapLegend struct {
	Harbors    []model.Harbor
	Landscapes []model.Landscape
}

MapLegend Legend for API uses, which allows use of codes (which can than be mapped via the Legend

type RequestInfo added in v0.1.0

type RequestInfo struct {
	RequestId  uuid.UUID
	JSONP      bool
	Callback   string
	Delimiter  bool
	RequestURI string
	Host       string
	RemoteAddr string
}

Jump to

Keyboard shortcuts

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