Documentation
¶
Index ¶
- type AppState
- type Model
- func (m *Model) Cleanup()
- func (m *Model) GetFinalStats() core.SessionStats
- func (m *Model) GetMPIStats() map[string]interface{}
- func (m *Model) Init() tea.Cmd
- func (m *Model) LoadFile(filepath string) error
- func (m *Model) SetAudioEnabled(enabled bool)
- func (m *Model) StartPracticeDirectly()
- func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *Model) View() string
- type TickMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the application state
func (*Model) GetFinalStats ¶
func (m *Model) GetFinalStats() core.SessionStats
GetFinalStats returns the final session statistics
func (*Model) GetMPIStats ¶
GetMPIStats returns muscle power indicator statistics
func (*Model) SetAudioEnabled ¶
SetAudioEnabled enables or disables audio feedback
func (*Model) StartPracticeDirectly ¶
func (m *Model) StartPracticeDirectly()
StartPracticeDirectly skips welcome screen and starts practice immediately
Click to show internal directories.
Click to hide internal directories.