alignui

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	S5G = iota
	SLTE
	LHEADER      = "lheader"
	RHEADER      = "rheader"
	PLOT5G       = "plot5G"
	KEY5GSNR     = "key5GSNR"
	KEY5GRSRP    = "key5Grsrp"
	KEY5GRSRQ    = "key5Grsrq"
	KEY5GBAND    = "key5Gband"
	KEY5GCELLID  = "key5Gcellid"
	PLOTLTE      = "plotLTE"
	KEYLTESNR    = "keyLTEsnr"
	KEYLTERSRP   = "keyLTErsrp"
	KEYLTERSRQ   = "keyLTErsrq"
	KEYLTEBAND   = "keyLTEband"
	KEYLTECELLID = "keyLTEcellid"
	ALERTS       = "alerts"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlignmentUI

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

func New

func New(hostname string, timeout int, pollFrequency int, silent bool) (*AlignmentUI, error)

New initializes the UI and prepares to run if you must abandon before running be sure to call AlignmentUI.Close()

func (*AlignmentUI) Close

func (a *AlignmentUI) Close()

Close cancels and closes the termui

func (*AlignmentUI) Draw

func (a *AlignmentUI) Draw(data *models.FastmileReturn, count int)

func (*AlignmentUI) HandleStat

func (a *AlignmentUI) HandleStat(val float64, key string, max int)

func (*AlignmentUI) Run

func (a *AlignmentUI) Run() error

Run runs the UI with polling

type QualityStat

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

func NewQualityStat

func NewQualityStat() *QualityStat

Jump to

Keyboard shortcuts

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