ui

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelayedQuit

func DelayedQuit() tea.Msg

Types

type LogView

type LogView struct {
	// contains filtered or unexported fields
}

func NewLogView

func NewLogView() *LogView

func (*LogView) Resize

func (lv *LogView) Resize(width, height int)

func (*LogView) Update

func (lv *LogView) Update(msg app.Message)

func (*LogView) View

func (lv *LogView) View() string

type QuitSignal

type QuitSignal struct{}

type ServiceView

type ServiceView struct {
	// contains filtered or unexported fields
}

func NewServiceView

func NewServiceView() *ServiceView

func (*ServiceView) Resize

func (v *ServiceView) Resize(width, height int)

func (*ServiceView) Update

func (v *ServiceView) Update(msg app.ServiceMessage)

func (*ServiceView) UpdateStatus

func (v *ServiceView) UpdateStatus(msg app.ServiceStatus)

func (*ServiceView) View

func (v *ServiceView) View() string

type UI

type UI struct {
	// contains filtered or unexported fields
}

func New

func New() *UI

func (*UI) Init

func (ui *UI) Init() tea.Cmd

func (*UI) SetCancel

func (ui *UI) SetCancel(cancel func())

func (*UI) SetContext

func (ui *UI) SetContext(ctx *app.Context)

func (*UI) Update

func (ui *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*UI) View

func (ui *UI) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL