ui

package
v0.0.0-...-2cbf4fd Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

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

func NewTerminal

func NewTerminal() *Terminal

func (*Terminal) Run

func (term *Terminal) Run(channel *chan messages.Message)

func (*Terminal) StartReadTask

func (term *Terminal) StartReadTask(interval time.Duration)

func (*Terminal) Write

func (term *Terminal) Write(str, color string)

func (*Terminal) WriteLn

func (term *Terminal) WriteLn(str, color string)

type Ui

type Ui interface {
	Run(channel *chan messages.Message)
	StartReadTask(time.Duration)
}

Jump to

Keyboard shortcuts

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