bw_stat

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WidgetName = "bwstat"
	URL        = "stats/bw"
)

Variables

This section is empty.

Functions

func NewWidget

func NewWidget(cfg *config.Config, httpClient *client.HttpClient,
	app *tview.Application) block.Block

Types

type BWStatBlock

type BWStatBlock widget.Widget

func (*BWStatBlock) BorderColor

func (w *BWStatBlock) BorderColor() tcell.Color

func (*BWStatBlock) CommonSettings

func (w *BWStatBlock) CommonSettings() *config.Common

func (*BWStatBlock) Focusable

func (w *BWStatBlock) Focusable() bool

func (*BWStatBlock) Name

func (w *BWStatBlock) Name() string

func (*BWStatBlock) Refresh

func (w *BWStatBlock) Refresh()

func (*BWStatBlock) RefreshInterval

func (w *BWStatBlock) RefreshInterval() int

func (*BWStatBlock) Render

func (w *BWStatBlock) Render()

func (*BWStatBlock) TextView

func (w *BWStatBlock) TextView() *tview.TextView

Jump to

Keyboard shortcuts

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