Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func NewDispatcher(publisher MessagePublisher) *Dispatcher
type DispatcherContext ¶
type DispatcherContext struct {
Publisher MessagePublisher
}
func (DispatcherContext) Input ¶
func (dc DispatcherContext) Input(prompt string, onDone uimodels.Operation)
func (DispatcherContext) Message ¶
func (dc DispatcherContext) Message(msg string)
func (DispatcherContext) Messagef ¶
func (dc DispatcherContext) Messagef(format string, args ...interface{})
func (DispatcherContext) Send ¶
func (dc DispatcherContext) Send(teaMessage tea.Msg)
type MessagePublisher ¶
Click to show internal directories.
Click to hide internal directories.