termuic

package
v1.0.97 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: GPL-3.0 Imports: 12 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) (*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()
	// 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