Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleLinkRequest ¶
HandleLinkRequest returns a bunch of blocking commands that resolve on link request states. As a Tea command, this should be treated as batch:
tea.Batch(HandleLinkRequest(model)...)
func InitLinkGen ¶
InitLinkGen runs the necessary commands for starting the link generation process.
Types ¶
type Model ¶
type Model struct { Quit bool // the user wants to exit the whole program Exit bool // the user wants to exit this mini-app // contains filtered or unexported fields }
Model is the tea model for the link initiator program.
func (Model) Init ¶ added in v0.8.5
Init is the Bubble Tea program's initialization function. This is used in standalone mode.
func (*Model) SetCharmClient ¶
SetCharmClient sets the charm client on the Model.
Click to show internal directories.
Click to hide internal directories.