mocks

package
v0.0.0-...-a025cc2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 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 MockGameEngine

type MockGameEngine struct {
	sham.CannedResponseMock
	// contains filtered or unexported fields
}

MockImporter a mock object for the importer

func (*MockGameEngine) Do

func (g *MockGameEngine) Do(gameId string, playerId string, action string, data string) (result string, err error)

func (*MockGameEngine) OnGameStart

func (g *MockGameEngine) OnGameStart(gameId string)

func (*MockGameEngine) OnJoin

func (g *MockGameEngine) OnJoin(gameId string, playerId string)

func (*MockGameEngine) OnLeave

func (g *MockGameEngine) OnLeave(gameId string, playerId string)

Jump to

Keyboard shortcuts

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