Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { // Keys stores the keys. Keys []*models.Key // AgentClient store the SSH agent client. AgentClient agent.ExtendedAgent // AgentKeys stores the public keys loaded to SSH agent. AgentKeys [][]byte // contains filtered or unexported fields }
func NewModel ¶
NewModel is an initializer which creates a new model for rendering our Bubbletea app.
func (*Model) Init ¶
Init is called to kick off the render cycle. It allows you to perform IO after the app has loaded and rendered once, asynchronously. The tea.Cmd can return a tea.Msg which will be passed into Update() in order to update the model's state.
Click to show internal directories.
Click to hide internal directories.