bitswap_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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WidgetName = "bitswapstat"
	URL        = "bitswap/stat"
)

Variables

This section is empty.

Functions

func NewWidget

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

Types

type BitswapStatBlock

type BitswapStatBlock widget.Widget

func (*BitswapStatBlock) BorderColor

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

func (*BitswapStatBlock) CommonSettings

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

func (*BitswapStatBlock) Focusable

func (w *BitswapStatBlock) Focusable() bool

func (*BitswapStatBlock) Name

func (w *BitswapStatBlock) Name() string

func (*BitswapStatBlock) Refresh

func (w *BitswapStatBlock) Refresh()

func (*BitswapStatBlock) RefreshInterval

func (w *BitswapStatBlock) RefreshInterval() int

func (*BitswapStatBlock) Render

func (w *BitswapStatBlock) Render()

func (*BitswapStatBlock) TextView

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

Jump to

Keyboard shortcuts

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