outMatchRequests

package
v0.0.0-...-659eabc Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package outMatchRequests contains all models regarding requests form players searching for a match to play.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRoom

type GetRoom struct {
	//UserID int64
	//GameID   int64  `json:"GameID" xml:"GameID" form:"GameID"`
	Username string `json:"Username" xml:"Username" form:"Username"` //prototypical, to avoid use cache for faster development //TODO: add cache layer
}

func (*GetRoom) FromMap

func (receiver *GetRoom) FromMap(Map map[string]interface{}) error

FromMap parses the a map and creates a valid struct, or returns an error.

Jump to

Keyboard shortcuts

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