Documentation ¶
Index ¶
- Constants
- func NewWidget(cfg *config.Config, httpClient *client.HttpClient, app *tview.Application) block.Block
- type PeerInfo
- func (w *PeerInfo) BorderColor() tcell.Color
- func (w *PeerInfo) CommonSettings() *config.Common
- func (w *PeerInfo) Focusable() bool
- func (w *PeerInfo) Name() string
- func (w *PeerInfo) Refresh()
- func (w *PeerInfo) RefreshInterval() int
- func (w *PeerInfo) Render()
- func (w *PeerInfo) TextView() *tview.TextView
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 ¶
func (*PeerInfo) BorderColor ¶
func (*PeerInfo) CommonSettings ¶
func (*PeerInfo) RefreshInterval ¶
Click to show internal directories.
Click to hide internal directories.