Documentation ¶
Index ¶
- func CurrentCommand(db *sqlx.DB, userID string) slack.ResponseMessage
- func GetGameImage(db *sqlx.DB, stateID string) (image.Image, error)
- func HelpCommand() slack.ResponseMessage
- func MoveCommand(db *sqlx.DB, userID string, spot uint8) slack.ResponseMessage
- func PingCommand() slack.ResponseMessage
- func StartCommand(db *sqlx.DB, userID string) slack.ResponseMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentCommand ¶
CurrentCommand show the current user game state
func GetGameImage ¶
GetGameImage returns the image by state
func HelpCommand ¶
func HelpCommand() slack.ResponseMessage
HelpCommand show the possible info about available commands for user
func MoveCommand ¶
MoveCommand defines the tic tac toe moves
func StartCommand ¶
StartCommand is command to start
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.