db

package
v0.0.0-...-aeffa93 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFeeds

func LoadFeeds() tea.Msg

func NewFeed

func NewFeed(url string) (gofeed.Feed, error)

func UpdateFeeds

func UpdateFeeds() tea.Msg

Types

type Episode

type Episode gofeed.Item

func (Episode) Details

func (e Episode) Details() string

func (Episode) FilterValue

func (e Episode) FilterValue() string

func (Episode) Name

func (e Episode) Name() string

type Feed

type Feed gofeed.Feed

func (Feed) Details

func (f Feed) Details() string

func (Feed) Episodes

func (f Feed) Episodes() []*Episode

Helper functions for the wrapper types

func (Feed) FilterValue

func (f Feed) FilterValue() string

Implementations for the DetailListItem interface

func (Feed) Name

func (f Feed) Name() string

type SubData

type SubData struct {
	Feeds    []Feed
	Episodes []*Episode
}

func (*SubData) LoadFeed

func (s *SubData) LoadFeed(feed gofeed.Feed)

Jump to

Keyboard shortcuts

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