display

package
v0.0.0-...-d866e0e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerminalUI

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

TerminalUI the UI in the terminal

func NewTerminalUI

func NewTerminalUI() (*TerminalUI, error)

NewTerminalUI create a display

func (*TerminalUI) Run

func (t *TerminalUI) Run(ctx context.Context, stats <-chan statistic.Traffic, alerts <-chan alerting.Alert, errChan <-chan error) error

Run the traffic, it blocks

Jump to

Keyboard shortcuts

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