Documentation
¶
Index ¶
- Constants
- Variables
- type FeedCellRef
- type FeedTable
- type GroupCellRef
- type GroupTable
- type InputBox
- type ItemTable
- type Tui
- func (t *Tui) AddFeedFromURL(url string) error
- func (t *Tui) AddFeedsFromURL(path string) error
- func (t *Tui) Descript(desc [][]string)
- func (t *Tui) Help(help [][]string)
- func (t *Tui) MakeGroup(title string) error
- func (t *Tui) Notify(m string, red bool)
- func (t *Tui) Run() error
- func (t *Tui) UpdateAllFeed() error
- type TuiInterface
Constants ¶
View Source
const (
FeedWidgetTitle = "Feeds"
)
Variables ¶
View Source
var ErrFeedNotExist = errors.Errorf("Feed Not Exist")
View Source
var ErrGroupNotExist = errors.Errorf("Feed Not Exist")
View Source
var ErrImportFileNotFound = errors.Errorf(db.ImportListPath + " not found")
Functions ¶
This section is empty.
Types ¶
type FeedCellRef ¶
func NewFeedCellRef ¶
func NewFeedCellRef(f *fd.Feed) *FeedCellRef
type GroupCellRef ¶
func NewGroupCellRef ¶
func NewGroupCellRef(g *fd.Group) *GroupCellRef
type GroupTable ¶
type GroupTable struct {
*FeedTable
}
type InputBox ¶
type InputBox struct {
*tview.InputField
Mode rune
}
type Tui ¶
type Tui struct {
Config *db.Config
DB *db.FeedDB
App *tview.Application
Pages *tview.Pages
GroupWidget *GroupTable
FeedWidget *FeedTable
ItemWidget *ItemTable
DescriptionWidget *tview.TextView
InfoWidget *tview.TextView
HelpWidget *tview.TextView
InputWidget *InputBox
ColorWidget *tview.Table
SelectingFeeds []*fd.Feed
LastFocusedWidget *tview.Box
ConfirmationStatus rune
CurrentLeftTable int
IsLoading bool
}
func (*Tui) AddFeedFromURL ¶
func (*Tui) AddFeedsFromURL ¶
func (*Tui) UpdateAllFeed ¶
type TuiInterface ¶
Click to show internal directories.
Click to hide internal directories.