Documentation
¶
Index ¶
- type LoginFailedMsg
- type LoginSuccessMsg
- type Model
- func (m Model) Error() error
- func (m Model) Focused() int
- func (m Model) Init() tea.Cmd
- func (m Model) Loading() bool
- func (m Model) Password() string
- func (m Model) ServerURL() string
- func (m *Model) SetSize(width, height int)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) Username() string
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginFailedMsg ¶
type LoginFailedMsg struct {
Err error
}
LoginFailedMsg is sent when authentication fails.
type LoginSuccessMsg ¶
LoginSuccessMsg is sent when authentication succeeds.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the bubbletea model for the login screen.
Click to show internal directories.
Click to hide internal directories.