termuic

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TermuiConsole

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

TermuiConsole data where is store data from handler

func NewTermuiConsole

func NewTermuiConsole(presenter view.Presenter, refreshTimeInMilliseconds int, chanNodeIsStarting chan struct{}) (*TermuiConsole, error)

NewTermuiConsole method is used to return a new TermuiConsole structure

func (*TermuiConsole) Start

func (tc *TermuiConsole) Start() error

Start method - will start termui console

type TermuiRender

type TermuiRender interface {
	// RefreshData method is used to refresh data that are displayed on a grid
	RefreshData(numMillisecondsRefreshTime int)
	// IsInterfaceNil returns true if there is no value under the interface
	IsInterfaceNil() bool
}

TermuiRender defines the actions which should be handled by a render

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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