Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Back = func() tea.Msg { return BackMsg{} }
Back loads the previous module in the pipeline.
View Source
var Init = func() tea.Msg { return InitMsg{} }
Init initialized the first module of the pipeline.
View Source
var Next = func() tea.Msg { return NextMsg{} }
Next loads the next module in the pipeline.
View Source
var None = func() tea.Msg { return nil }
None is a placeholder to be returned from the module's init function. If the modules doesn't need to do anything special, it must return None instead of nil.
View Source
var Resize = func() tea.Msg { return ResizeMsg{} }
Resize can be used, to manually trigger a resize of the tui components.
Functions ¶
This section is empty.
Types ¶
type Canceler ¶
type Canceler interface {
CancelFunc() ctx.CancelFunc
}
type ForkBackMsg ¶
type ForkBackMsg int
type ModulePiper ¶
type PipeCancelFuncMsg ¶
type PipeCancelFuncMsg ctx.CancelFunc
type PipeDoneMsg ¶
type PipeDoneMsg struct{}
type PipeMessenger ¶
type PipeMessenger interface {
Message() string
}
Click to show internal directories.
Click to hide internal directories.