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