Documentation ¶
Index ¶
- type TUIFrontend
- func (t *TUIFrontend) ChoicesMade(ctx context.Context, choices frontend.Choices) error
- func (t *TUIFrontend) HardwareState(ctx context.Context, state frontend.HardwareState) error
- func (t *TUIFrontend) Init() tea.Cmd
- func (t *TUIFrontend) Initialize(ctx context.Context, commands chan any) error
- func (t *TUIFrontend) Shutdown(ctx context.Context) error
- func (t *TUIFrontend) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (t *TUIFrontend) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TUIFrontend ¶
type TUIFrontend struct {
// contains filtered or unexported fields
}
func New ¶
func New() *TUIFrontend
func (*TUIFrontend) ChoicesMade ¶
func (*TUIFrontend) HardwareState ¶
func (t *TUIFrontend) HardwareState(ctx context.Context, state frontend.HardwareState) error
func (*TUIFrontend) Init ¶
func (t *TUIFrontend) Init() tea.Cmd
func (*TUIFrontend) Initialize ¶
func (t *TUIFrontend) Initialize(ctx context.Context, commands chan any) error
func (*TUIFrontend) Shutdown ¶
func (t *TUIFrontend) Shutdown(ctx context.Context) error
func (*TUIFrontend) View ¶
func (t *TUIFrontend) View() string
Click to show internal directories.
Click to hide internal directories.