cli

package
v0.0.0-...-2cefbdd Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGame

func CreateGame()

func InteractiveInputs

func InteractiveInputs(server string, username string, password string, token string, stateless bool) error

func JoinGame

func JoinGame()

func ResumeGame

func ResumeGame()

func Run

func Run()

func ShowCreateGameMessage

func ShowCreateGameMessage(gameId int64)

func ShowEvent

func ShowEvent(event *model.Event)

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 ShowGames

func ShowGames()

func ShowJoinGameMessage

func ShowJoinGameMessage()

func ShowLoginMessage

func ShowLoginMessage()

func ShowLogoutMessage

func ShowLogoutMessage()

func ShowPasswordChangeMessage

func ShowPasswordChangeMessage()

func ShowPlayerInfo

func ShowPlayerInfo(player *model.Player)

func ShowPlayerList

func ShowPlayerList(list *model.PlayerListResponse)

func ShowPlayers

func ShowPlayers()

func ShowQuitGameMessage

func ShowQuitGameMessage()

func ShowRegistrationMessage

func ShowRegistrationMessage()

func ShowServerInfo

func ShowServerInfo(status *model.Status)

func ShowUserInfo

func ShowUserInfo(user *model.Player)

func StartInteractiveMode

func StartInteractiveMode(server string, username string, password string, token string, stateless bool) error

func StaticInputs

func StaticInputs(server string, username string, password string, token string, stateless bool) error

func StaticServerOnlyInput

func StaticServerOnlyInput(server string, stateless bool) error

Types

type NavigationResult struct {
	Page       int
	Sort       string
	Filter     string
	ResourceId int
	IsEnd      bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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