tui

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SwitchToAdminMode

func SwitchToAdminMode() tea.Msg

func SwitchToDefaultMode

func SwitchToDefaultMode() tea.Msg

Types

type SwitchToAdminModeMsg

type SwitchToAdminModeMsg struct{}

type SwitchToDefaultModeMsg

type SwitchToDefaultModeMsg struct{}

type Tui

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

func New

func (Tui) Init

func (t Tui) Init() tea.Cmd

func (*Tui) TeaHandler

func (t *Tui) TeaHandler(s ssh.Session) (tea.Model, []tea.ProgramOption)

func (*Tui) Update

func (t *Tui) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Tui) View

func (t Tui) View() string

type TuiNetworksModel

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

func (TuiNetworksModel) Init

func (nm TuiNetworksModel) Init() tea.Cmd

func (TuiNetworksModel) Update

func (nm TuiNetworksModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (TuiNetworksModel) View

func (nm TuiNetworksModel) View() string

Jump to

Keyboard shortcuts

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