ui

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TUIModel

type TUIModel struct {
	Client *nfs.NFSClient

	Output []string
	// contains filtered or unexported fields
}

TUIModel represents the state of the terminal user interface

func InitialModel

func InitialModel(client *nfs.NFSClient) TUIModel

InitialModel creates and returns a new TUI model

func (TUIModel) Init

func (m TUIModel) Init() tea.Cmd

Init initializes the model

func (TUIModel) Update

func (m TUIModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles messages and updates the model

func (TUIModel) View

func (m TUIModel) View() string

View renders the TUI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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