repo_stat

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

type RepoStatBlock widget.Widget

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL