Documentation ¶
Index ¶
- func CompleteNvimboat(args *nvim.CommandCompletionArgs) (suggestions []string, err error)
- func SetupLogging(path string) error
- type Action
- type Article
- func (a *Article) ChildIdx(Page) (int, error)
- func (a *Article) Prefix() string
- func (a *Article) QueryChild(*sql.DB, string) (Page, error)
- func (a *Article) QuerySelf(db *sql.DB) (Page, error)
- func (a *Article) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (a *Article) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
- type ArticlesPage
- type Feed
- func (f *Feed) AuthorCol() []string
- func (f *Feed) ChildIdx(article Page) (int, error)
- func (f *Feed) FindUnread(direction string, a Article) (article Article, err error)
- func (f *Feed) MainPrefix() string
- func (f *Feed) PrefixCol() []string
- func (f *Feed) PubDateCol() ([]string, error)
- func (f *Feed) QueryChild(db *sql.DB, articleUrl string) (Page, error)
- func (f *Feed) QuerySelf(db *sql.DB) (Page, error)
- func (f *Feed) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (f *Feed) SetArticleRead(article Article) (err error)
- func (f *Feed) TitleCol() []string
- func (f *Feed) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
- func (f *Feed) UrlCol() []string
- type Filter
- func (f *Filter) AuthorCol() []string
- func (f *Filter) ChildIdx(article Page) (int, error)
- func (f *Filter) FindUnread(direction string, a Article) (article Article, err error)
- func (f *Filter) MainPrefix() string
- func (f *Filter) PrefixCol() []string
- func (f *Filter) PubDateCol() ([]string, error)
- func (f *Filter) QueryChild(db *sql.DB, articleUrl string) (Page, error)
- func (f *Filter) QuerySelf(*sql.DB) (Page, error)
- func (f *Filter) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (f *Filter) SetArticleRead(article Article) (err error)
- func (f *Filter) TitleCol() []string
- func (f *Filter) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
- func (f *Filter) UrlCol() []string
- type MainMenu
- func (mm *MainMenu) ChildIdx(feed Page) (int, error)
- func (mm *MainMenu) QueryChild(db *sql.DB, id string) (Page, error)
- func (mm *MainMenu) QuerySelf(db *sql.DB) (Page, error)
- func (mm *MainMenu) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (mm *MainMenu) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
- type Nvimboat
- func (nb *Nvimboat) Back(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) Command(nv *nvim.Nvim, args []string) (err error)
- func (nb *Nvimboat) Disable(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) Enable(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) Log(val ...any)
- func (nb *Nvimboat) NextArticle(nv *nvim.Nvim, args ...string) error
- func (nb *Nvimboat) NextUnread(nv *nvim.Nvim, args ...string) error
- func (nb *Nvimboat) Pop() (err error)
- func (nb *Nvimboat) PrevArticle(nv *nvim.Nvim, args ...string) error
- func (nb *Nvimboat) PrevUnread(nv *nvim.Nvim, args ...string) error
- func (nb *Nvimboat) Push(newPage Page) (err error)
- func (nb *Nvimboat) Select(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) Show(newPage Page) (err error)
- func (nb *Nvimboat) ShowMain(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) ShowTags(nv *nvim.Nvim, args ...string) (err error)
- func (nb *Nvimboat) ToggleArticleRead(nv *nvim.Nvim, args ...string) (err error)
- type Page
- type PageStack
- type SyncDB
- type TagFeeds
- func (tf *TagFeeds) ChildIdx(feed Page) (int, error)
- func (tf *TagFeeds) QueryChild(db *sql.DB, feedUrl string) (Page, error)
- func (tf *TagFeeds) QuerySelf(db *sql.DB) (Page, error)
- func (tf *TagFeeds) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (tf *TagFeeds) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
- type TagsPage
- func (tp *TagsPage) ChildIdx(tagFeeds Page) (int, error)
- func (tp *TagsPage) QueryChild(db *sql.DB, tag string) (Page, error)
- func (tp *TagsPage) QuerySelf(*sql.DB) (Page, error)
- func (tp *TagsPage) Render(nv *nvim.Nvim, buffer nvim.Buffer, unreadOnly bool, separator string) (err error)
- func (tp *TagsPage) ToggleUnread(nb *Nvimboat, urls ...string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteNvimboat ¶
func CompleteNvimboat(args *nvim.CommandCompletionArgs) (suggestions []string, err error)
func SetupLogging ¶
Types ¶
type Article ¶
type Article struct { Author string Content string FeedUrl string Guid string PubDate int Title string Unread int Url string }
type ArticlesPage ¶
type Feed ¶
type Feed struct { Title string RssUrl string UnreadCount int ArticleCount int Articles []*Article }
func (*Feed) FindUnread ¶
func (*Feed) MainPrefix ¶
func (*Feed) PubDateCol ¶
func (*Feed) SetArticleRead ¶
type Filter ¶
type Filter struct { Name string FilterID string Query string IncludeTags []string ExcludeTags []string UnreadCount int ArticleCount int Articles []*Article }
func QueryFilter ¶
func (*Filter) FindUnread ¶
func (*Filter) MainPrefix ¶
func (*Filter) PubDateCol ¶
func (*Filter) QueryChild ¶
func (*Filter) SetArticleRead ¶
func (*Filter) ToggleUnread ¶
type MainMenu ¶
type MainMenu struct { ConfigFeeds []map[string]any ConfigFilters []map[string]any Filters []*Filter Feeds []*Feed }
type Nvimboat ¶
Click to show internal directories.
Click to hide internal directories.