Documentation
¶
Index ¶
Constants ¶
const ( // StartContentOperation tells the processor to begin streaming content. StartContentOperation = iota // StartGroupsOperation tells the processor to begin streaming groups. StartGroupsOperation // StopOperation tells the processor to shut down all spawned children, // contexts, and pipes. StopOperation )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandChannel ¶
type CommandChannel struct {
CmdChan chan<- Command
}
CommandChannel is a tea.Msg that conveys the channel the processor will be listening on for commands.
type ContentError ¶
ContentError is a tea.Msg that conveys an error that occurred when looking for content.
type ContentLine ¶
type ContentLine struct {
Line string
}
ContentLine is a tea.Msg that conveys a line of content read by the processor.
type ContentStart ¶
type ContentStart struct {
InitialContent []string
}
ContentStart is a tea.Msg that indicates the processor is (re)starting a read for content.
type ContentStopped ¶ added in v1.0.5
type ContentStopped struct {
}
ContentStopped is a tea.Msg that indicates the processor has stopped. All child processes are killed, contexts are cancled, and pipes are closed.
type GroupsError ¶ added in v1.0.5
GroupsError is a tea.Msg that conveys an error that occurred when looking for groups.
type GroupsLine ¶ added in v1.0.5
type GroupsLine struct {
Line string
}
GroupsLine is a tea.Msg that conveys a group read by the processor.
type GroupsStart ¶
type GroupsStart struct {
InitialGroups []string
}
GroupsStart is a tea.Msg that indicates the processor is (re)starting a read for groups.
type GroupsStopped ¶ added in v1.0.5
type GroupsStopped struct {
}
GroupsStopped is a tea.Msg that indicates the processor has stopped. All child processes are killed, contexts are cancled, and pipes are closed.