Documentation
¶
Index ¶
- func CreateGame()
- func InteractiveInputs(server string, username string, password string, token string, stateless bool) error
- func JoinGame()
- func ResumeGame()
- func Run()
- func ShowCreateGameMessage(gameId int64)
- func ShowEvent(event *model.Event)
- func ShowGameInfo(game *model.Game, moves *model.GameMoveListResponse)
- func ShowGameList(list *model.GameListResponse)
- func ShowGameMoveResult(move string, game *model.Game, moves *model.GameMoveListResponse)
- func ShowGameMovesHelp()
- func ShowGames()
- func ShowJoinGameMessage()
- func ShowLoginMessage()
- func ShowLogoutMessage()
- func ShowPasswordChangeMessage()
- func ShowPlayerInfo(player *model.Player)
- func ShowPlayerList(list *model.PlayerListResponse)
- func ShowPlayers()
- func ShowQuitGameMessage()
- func ShowRegistrationMessage()
- func ShowServerInfo(status *model.Status)
- func ShowUserInfo(user *model.Player)
- func StartInteractiveMode(server string, username string, password string, token string, stateless bool) error
- func StaticInputs(server string, username string, password string, token string, stateless bool) error
- func StaticServerOnlyInput(server string, stateless bool) error
- type NavigationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGame ¶
func CreateGame()
func InteractiveInputs ¶
func ResumeGame ¶
func ResumeGame()
func ShowCreateGameMessage ¶
func ShowCreateGameMessage(gameId int64)
func ShowGameInfo ¶
func ShowGameInfo(game *model.Game, moves *model.GameMoveListResponse)
func ShowGameList ¶
func ShowGameList(list *model.GameListResponse)
func ShowGameMoveResult ¶
func ShowGameMoveResult(move string, game *model.Game, moves *model.GameMoveListResponse)
func ShowGameMovesHelp ¶
func ShowGameMovesHelp()
func ShowJoinGameMessage ¶
func ShowJoinGameMessage()
func ShowLoginMessage ¶
func ShowLoginMessage()
func ShowLogoutMessage ¶
func ShowLogoutMessage()
func ShowPasswordChangeMessage ¶
func ShowPasswordChangeMessage()
func ShowPlayerInfo ¶
func ShowPlayerList ¶
func ShowPlayerList(list *model.PlayerListResponse)
func ShowPlayers ¶
func ShowPlayers()
func ShowQuitGameMessage ¶
func ShowQuitGameMessage()
func ShowRegistrationMessage ¶
func ShowRegistrationMessage()
func ShowServerInfo ¶
func ShowUserInfo ¶
func StartInteractiveMode ¶
func StaticInputs ¶
func StaticServerOnlyInput ¶
Types ¶
type NavigationResult ¶
type NavigationResult struct {
}
Click to show internal directories.
Click to hide internal directories.