Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RootScreen ¶
func RootScreen() rootScreenModel
Types ¶
type DefaultModel ¶
type DefaultModel struct{}
func (DefaultModel) Init ¶
func (m DefaultModel) Init() tea.Cmd
func (DefaultModel) View ¶
func (m DefaultModel) View() string
type HomeScreenModel ¶
type HomeScreenModel struct {
// contains filtered or unexported fields
}
func NewHomeScreenModel ¶
func NewHomeScreenModel(user dtos.User) HomeScreenModel
func (HomeScreenModel) Init ¶
func (m HomeScreenModel) Init() tea.Cmd
func (HomeScreenModel) View ¶
func (m HomeScreenModel) View() string
type LoginScreenModel ¶
type LoginScreenModel struct {
// contains filtered or unexported fields
}
func NewLoginScreenModel ¶
func NewLoginScreenModel() LoginScreenModel
func (LoginScreenModel) Init ¶
func (m LoginScreenModel) Init() tea.Cmd
func (LoginScreenModel) View ¶
func (m LoginScreenModel) View() string
type MatchmakingScreenModel ¶
type MatchmakingScreenModel struct {
// contains filtered or unexported fields
}
func NewMatchmakingScreen ¶
func NewMatchmakingScreen(user dtos.User) MatchmakingScreenModel
func (MatchmakingScreenModel) Init ¶
func (m MatchmakingScreenModel) Init() tea.Cmd
func (MatchmakingScreenModel) View ¶
func (m MatchmakingScreenModel) View() string
type PlayScreenModel ¶
type PlayScreenModel struct {
// contains filtered or unexported fields
}
TODO: implement play screen
func NewPlayScreenModel ¶
func NewPlayScreenModel(matchInfo dtos.MatchInfo) PlayScreenModel
func (PlayScreenModel) Init ¶
func (m PlayScreenModel) Init() tea.Cmd
func (PlayScreenModel) View ¶
func (m PlayScreenModel) View() string
Click to show internal directories.
Click to hide internal directories.