tui

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceInfo added in v0.1.5

type DeviceInfo struct {
	Platform     string
	BoardName    string
	OsVersion    string
	CpuCoreCount int
}

type MtModel

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

func New

func New(client *routeros.Client, deviceInfo DeviceInfo, debug bool, minWidth int) MtModel

func (MtModel) Init

func (m MtModel) Init() tea.Cmd

func (MtModel) Update

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

func (MtModel) View

func (m MtModel) View() string

Jump to

Keyboard shortcuts

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