Versions in this module Expand all Collapse all v1 v1.0.0 Apr 1, 2026 Changes in this version + type ActionKind int + const ActionConnect + const ActionCreated + const ActionEdited + const ActionNone + type AppModel struct + func (m AppModel) Init() tea.Cmd + func (m AppModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m AppModel) View() string + type AppResult struct + Action ActionKind + Connection *model.Connection + WizardResult *WizardResult + func Run(connections []model.Connection, d *sql.DB, initialTab Tab) *AppResult + type ConnectModel struct + func (m *ConnectModel) AddItem(conn model.Connection) + func (m *ConnectModel) RemoveByName(name string) + func (m *ConnectModel) SetSize(w, h int) + func (m ConnectModel) Update(msg tea.Msg) (ConnectModel, *AppResult, tea.Cmd) + func (m ConnectModel) View() string + type CreateModel struct + func (m *CreateModel) SetSize(w, h int) + func (m CreateModel) Update(msg tea.Msg) (CreateModel, *AppResult, tea.Cmd) + func (m CreateModel) View() string + type DeleteModel struct + func (m *DeleteModel) AddItem(conn model.Connection) + func (m *DeleteModel) RemoveByName(name string) + func (m *DeleteModel) SetSize(w, h int) + func (m DeleteModel) Update(msg tea.Msg) (DeleteModel, *AppResult, tea.Cmd) + func (m DeleteModel) View() string + type EditModel struct + func (m *EditModel) AddItem(conn model.Connection) + func (m *EditModel) RemoveByName(name string) + func (m *EditModel) SetSize(w, h int) + func (m EditModel) Update(msg tea.Msg) (EditModel, *AppResult, tea.Cmd) + func (m EditModel) View() string + type FilterBox struct + func NewFilterBox(width int, promptColor lipgloss.Color) FilterBox + func (f *FilterBox) SetValue(s string) + func (f *FilterBox) SetWidth(w int) + func (f FilterBox) Update(msg tea.Msg) (FilterBox, tea.Cmd) + func (f FilterBox) Value() string + func (f FilterBox) View() string + type PassphraseModal struct + func (m *PassphraseModal) SetSize(w, h int) + func (m PassphraseModal) Update(msg tea.Msg) (PassphraseModal, *PassphraseResult, tea.Cmd) + func (m PassphraseModal) View() string + type PassphraseResult struct + Cancelled bool + Passphrase string + type Tab int + const TabConnect + const TabCreate + const TabDelete + const TabEdit + type WizardResult struct + AuthType string + Directory string + Host string + IdentityFile string + Name string + Password string + Port string + User string