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
Click to show internal directories.
Click to hide internal directories.