peer_info

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

Documentation

Index

Constants

View Source
const (
	WidgetName = "peerinfo"
	URL        = "id"
)

Variables

This section is empty.

Functions

func NewWidget

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

Types

type PeerInfo

type PeerInfo widget.Widget

func (*PeerInfo) BorderColor

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

func (*PeerInfo) CommonSettings

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

func (*PeerInfo) Focusable

func (w *PeerInfo) Focusable() bool

func (*PeerInfo) Name

func (w *PeerInfo) Name() string

func (*PeerInfo) Refresh

func (w *PeerInfo) Refresh()

func (*PeerInfo) RefreshInterval

func (w *PeerInfo) RefreshInterval() int

func (*PeerInfo) Render

func (w *PeerInfo) Render()

func (*PeerInfo) TextView

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

Jump to

Keyboard shortcuts

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