Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct {
Item *gofeed.Item
ItemImage image.Image
Feed *gofeed.Feed
FeedImage image.Image
Article *readability.Article
Media *media.Media
// contains filtered or unexported fields
}
func (*Card) DownloadImage ¶
func (card *Card) DownloadImage()
func (*Card) DownloadLink ¶
func (card *Card) DownloadLink()
func (*Card) DownloadMedia ¶
func (card *Card) DownloadMedia()
func (*Card) OpenArticle ¶
func (card *Card) OpenArticle()
func (*Card) OpenBrowser ¶
func (card *Card) OpenBrowser()
type ImgDownloader ¶
type ImgDownloader struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(*Photon)
func WithDownloadPath ¶
func WithHTTPClient ¶
func WithMediaExtractor ¶
func WithMediaImageCmd ¶
func WithMediaTorrentCmd ¶
func WithMediaVideoCmd ¶
type Photon ¶
type Photon struct {
ImgDownloader *ImgDownloader
KeyBindings *keybindings.Registry
Cards Cards
VisibleCards Cards
SelectedCard *Card
SelectedCardPos image.Point
OpenedArticle *Article
// contains filtered or unexported fields
}
func (*Photon) RefreshFeed ¶
func (p *Photon) RefreshFeed()
func (*Photon) SearchQuery ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.