executor

package
v0.0.0-...-6c7df26 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncStringModel

type AsyncStringModel struct {
	LoadingMsg string
	// contains filtered or unexported fields
}

func NewAsyncStringModel

func NewAsyncStringModel(outputFunc func() (string, error)) AsyncStringModel

func (AsyncStringModel) Init

func (m AsyncStringModel) Init() tea.Cmd

func (AsyncStringModel) Update

func (m AsyncStringModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (AsyncStringModel) View

func (m AsyncStringModel) View() string

type CmdModel

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

func NewCmdModel

func NewCmdModel(output string, cmd tea.Cmd) CmdModel

func (CmdModel) Init

func (m CmdModel) Init() tea.Cmd

func (CmdModel) Update

func (m CmdModel) Update(tea.Msg) (tea.Model, tea.Cmd)

func (CmdModel) View

func (m CmdModel) View() string

type ErrorMsg

type ErrorMsg error

type StringModel

type StringModel string

func NewStringModel

func NewStringModel(output string) StringModel

func (StringModel) Init

func (m StringModel) Init() tea.Cmd

func (StringModel) Update

func (m StringModel) Update(tea.Msg) (tea.Model, tea.Cmd)

func (StringModel) View

func (m StringModel) View() string

Jump to

Keyboard shortcuts

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