lists

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerSelectedMsg

type ServerSelectedMsg struct {
	Hostname string
}

type ServersListModel

type ServersListModel struct {
	// contains filtered or unexported fields
}

func InitServersListModel

func InitServersListModel() ServersListModel

func (ServersListModel) SetServers

func (m ServersListModel) SetServers(servers []string, recentlyUsedServers [10]string) ServersListModel

func (ServersListModel) Update

func (m ServersListModel) Update(msg tea.Msg) (ServersListModel, tea.Cmd)

func (ServersListModel) View

func (m ServersListModel) View() string

type UserSelectedMsg

type UserSelectedMsg struct {
	User string
}

type UsersListModel

type UsersListModel struct {
	// contains filtered or unexported fields
}

func InitUsersListModel

func InitUsersListModel() UsersListModel

func (UsersListModel) SetUsers

func (m UsersListModel) SetUsers(users []string) UsersListModel

func (UsersListModel) Update

func (m UsersListModel) Update(msg tea.Msg) (UsersListModel, tea.Cmd)

func (UsersListModel) View

func (m UsersListModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL