models

package
v0.0.0-...-f34c3c0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameServer

type GameServer struct {
	gorm.Model
	IP             string
	Port           string
	GameServerData GameServerData
}

GameServer is the model responsible for the constant game server data.

type GameServerData

type GameServerData struct {
	gorm.Model
	GameServerID uint

	Hostname string
	Gamedir  string
	// Appid is associated with the Steam Application IDs
	// https://developer.valvesoftware.com/wiki/Steam_Application_IDs
	Appid      uint
	Version    string
	Dedicated  bool
	Secure     bool
	Players    uint
	MaxPlayers uint
	Map        string
	Linux      bool
	Password   bool
	Proxy      bool
	White      bool
	Tags       string
	Hidden     string
}

GameServerData is the model responsible for the dynamic game server data.

Jump to

Keyboard shortcuts

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