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