handlers

package
v0.0.0-...-f4af470 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBoard

func CreateBoard(c *gin.Context, input models.BoardInput) (models.Board, error)

CreateBoard creates a new board

func GetBoardByID

func GetBoardByID(c *gin.Context, boardID string) (models.Board, error)

GetBoardByID gets a board with a requested ID

func MakeMove

func MakeMove(c *gin.Context, boardID string, move models.Move) (models.Board, error)

MakeMove makes a move to a board with a requested ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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