model

package
v0.0.0-...-9d695bc Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveTabKeys

type ActiveTabKeys interface {
	SetupKeys()
}

type Globals

type Globals struct {
	ActiveTab uint
	UpdateCnt uint64
	Debug     bool
	DebugMsg  string

	Log       *log.Logger
	Help      help.Model
	UserName  string
	UAccounts []string
	config.ConfigContainer
	ErrorMsg  error
	ErrorHelp string
	SizeErr   string
	// contains filtered or unexported fields
}

type Model

TODO: in structures below: - make embedding and accessing leafs uniform (shorthand notation vs Full path)

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Directories

Path Synopsis
tabs

Jump to

Keyboard shortcuts

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