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