Documentation ¶
Index ¶
- func Build() (*gowid.App, error)
- func NewCurrentTaskView() gowid.IWidget
- func NewKeymap(key, desc string) *keymap
- func NewMetricsView() gowid.IWidget
- func NewTaskView() gowid.IWidget
- func OnAbortBreaks() <-chan struct{}
- func OnPauseTask() <-chan struct{}
- func OnResumeTask() <-chan struct{}
- func OnStartTask() <-chan string
- func OnStopTask() <-chan struct{}
- func OnSwitchTask() <-chan string
- func StartTask(app gowid.IApp)
- func UnhandledInput(app gowid.IApp, event interface{}) bool
- func UpdateMetrics(app gowid.IApp, state dto.MetricsState)
- func UpdatePomodoro(app gowid.IApp, state dto.PomodoroState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCurrentTaskView ¶
func NewMetricsView ¶
func NewTaskView ¶
func OnAbortBreaks ¶
func OnAbortBreaks() <-chan struct{}
func OnPauseTask ¶
func OnPauseTask() <-chan struct{}
func OnResumeTask ¶
func OnResumeTask() <-chan struct{}
func OnStartTask ¶
func OnStartTask() <-chan string
func OnStopTask ¶
func OnStopTask() <-chan struct{}
func OnSwitchTask ¶
func OnSwitchTask() <-chan string
func UnhandledInput ¶
func UpdateMetrics ¶
func UpdateMetrics(app gowid.IApp, state dto.MetricsState)
func UpdatePomodoro ¶
func UpdatePomodoro(app gowid.IApp, state dto.PomodoroState)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.