internal

package
v0.0.0-...-8be9ec9 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoreMedia

func StoreMedia(data []byte, ext string) (string, error)

StoreMedia stores a file and makes it publically available via the media route returns the full url of the media file

Types

type GameEngine

type GameEngine struct {
	// contains filtered or unexported fields
}

func NewGameEngine

func NewGameEngine() *GameEngine

func (*GameEngine) ProcessMsg

func (engine *GameEngine) ProcessMsg(sess *models.GameSession, game games.Game, msg games.GameMsg)

type GameStep

type GameStep struct {
	Sess *models.GameSession
	Game games.Game
	Msg  games.GameMsg
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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