services

package
v0.0.0-...-4eb35ab Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameService

type GameService interface {
	CreateGame(game *types.Game) (*types.Game, error)
	CreateUser(user *types.User) (*types.User, error)
	Exists(key string) bool
	Click(gameName string, userName string, data *types.ClickData) (*types.Game, error)
	Board(gameName string, userName string) ([]uint8, error)
}

func NewGameService

func NewGameService(db repository.GameRepository) GameService

Jump to

Keyboard shortcuts

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