termui

package
v0.22.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detect

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

func NewDetect

func NewDetect(app app) *Detect

func (*Detect) Stop

func (d *Detect) Stop()

type Termui

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

func NewTermui

func NewTermui() *Termui

func (*Termui) Debug

func (s *Termui) Debug(msg string)

func (*Termui) Debugf

func (s *Termui) Debugf(fmt string, v ...interface{})

func (*Termui) Error

func (s *Termui) Error(msg string)

func (*Termui) Errorf

func (s *Termui) Errorf(fmt string, v ...interface{})

func (*Termui) Handler

func (s *Termui) Handler() container.Handler

func (*Termui) Info

func (s *Termui) Info(msg string)

func (*Termui) Infof

func (s *Termui) Infof(fmt string, v ...interface{})

func (*Termui) IsVerbose

func (s *Termui) IsVerbose() bool

func (*Termui) Run

func (s *Termui) Run(funk func()) error

Run starts the terminal UI process in the foreground and the passed in function in the background

func (*Termui) Warn

func (s *Termui) Warn(msg string)

func (*Termui) Warnf

func (s *Termui) Warnf(fmt string, v ...interface{})

func (*Termui) Writer

func (s *Termui) Writer() io.Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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