lists

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 5 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) 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