Documentation
¶
Index ¶
- Constants
- func NewWidget(cfg *config.Config, httpClient *client.HttpClient, app *tview.Application) block.Block
- type SwarmPeersBlock
- func (w *SwarmPeersBlock) BorderColor() tcell.Color
- func (w *SwarmPeersBlock) CommonSettings() *config.Common
- func (w *SwarmPeersBlock) Focusable() bool
- func (w *SwarmPeersBlock) Name() string
- func (w *SwarmPeersBlock) Refresh()
- func (w *SwarmPeersBlock) RefreshInterval() int
- func (w *SwarmPeersBlock) Render()
- func (w *SwarmPeersBlock) TextView() *tview.TextView
Constants ¶
View Source
const ( WidgetName = "swarmpeers" URL = "swarm/peers" )
Variables ¶
This section is empty.
Functions ¶
func NewWidget ¶
func NewWidget(cfg *config.Config, httpClient *client.HttpClient, app *tview.Application) block.Block
Types ¶
type SwarmPeersBlock ¶
func (*SwarmPeersBlock) BorderColor ¶
func (w *SwarmPeersBlock) BorderColor() tcell.Color
func (*SwarmPeersBlock) CommonSettings ¶
func (w *SwarmPeersBlock) CommonSettings() *config.Common
func (*SwarmPeersBlock) Focusable ¶
func (w *SwarmPeersBlock) Focusable() bool
func (*SwarmPeersBlock) Name ¶
func (w *SwarmPeersBlock) Name() string
func (*SwarmPeersBlock) Refresh ¶
func (w *SwarmPeersBlock) Refresh()
func (*SwarmPeersBlock) RefreshInterval ¶
func (w *SwarmPeersBlock) RefreshInterval() int
func (*SwarmPeersBlock) Render ¶
func (w *SwarmPeersBlock) Render()
func (*SwarmPeersBlock) TextView ¶
func (w *SwarmPeersBlock) TextView() *tview.TextView
Click to show internal directories.
Click to hide internal directories.