Documentation ¶
Index ¶
- type FeedItem
- type FeedOptions
- type FetchResult
- type Printer
- func (p *Printer) ColorBackground(s string, color uint8) string
- func (p *Printer) ColorForeground(s string, color uint8) string
- func (p *Printer) ErrPrint(a ...any)
- func (p *Printer) ErrPrintf(format string, a ...any)
- func (p *Printer) ErrPrintln(a ...any)
- func (p *Printer) GetSize() (width, height int)
- func (p *Printer) GetStyling() bool
- func (p *Printer) Print(a ...any)
- func (p *Printer) Printf(format string, a ...any)
- func (p *Printer) Println(a ...any)
- func (p *Printer) SetStyling(enable bool)
- type RunSummary
- type TerminalFeed
- func (f *TerminalFeed) DisplayColorRange()
- func (f *TerminalFeed) DisplayConfig() error
- func (f *TerminalFeed) ExportToFile(path, list string) error
- func (f *TerminalFeed) ExportToOPML(path, list string) error
- func (f *TerminalFeed) Feed(opts *FeedOptions) error
- func (f *TerminalFeed) Follow(urls []string, list string) error
- func (f *TerminalFeed) ImportFromFile(path, list string) error
- func (f *TerminalFeed) ImportFromOPML(path, list string) error
- func (f *TerminalFeed) ListFeeds(list string) error
- func (f *TerminalFeed) Lists() error
- func (f *TerminalFeed) MergeLists(list, otherList string) error
- func (f *TerminalFeed) RemoveList(list string) error
- func (f *TerminalFeed) RenameList(oldName, newName string) error
- func (f *TerminalFeed) Search(query string, opts *FeedOptions) error
- func (f *TerminalFeed) SetAgent(agent string)
- func (f *TerminalFeed) SetStyling(v uint8) error
- func (f *TerminalFeed) SetSummary(v uint8) error
- func (f *TerminalFeed) ShowCacheInfo() error
- func (f *TerminalFeed) ShowCachePath() error
- func (f *TerminalFeed) ShowConfigPath() error
- func (f *TerminalFeed) Unfollow(urls []string, list string) error
- func (f *TerminalFeed) UpdateColorMap(mappings string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchResult ¶ added in v0.1.7
type Printer ¶
type Printer struct { InReader io.Reader OutWriter io.Writer ErrWriter io.Writer // contains filtered or unexported fields }
func NewPrinter ¶
func (*Printer) ErrPrintln ¶
func (*Printer) GetStyling ¶ added in v0.1.6
func (*Printer) SetStyling ¶ added in v0.1.6
type RunSummary ¶ added in v0.1.7
type TerminalFeed ¶
type TerminalFeed struct {
// contains filtered or unexported fields
}
func NewTerminalFeed ¶
func NewTerminalFeed( time utils.Time, printer *Printer, storage *storage.LocalStorage, ) *TerminalFeed
func (*TerminalFeed) DisplayColorRange ¶ added in v0.1.6
func (f *TerminalFeed) DisplayColorRange()
func (*TerminalFeed) DisplayConfig ¶ added in v0.1.6
func (f *TerminalFeed) DisplayConfig() error
func (*TerminalFeed) ExportToFile ¶ added in v0.2.0
func (f *TerminalFeed) ExportToFile(path, list string) error
func (*TerminalFeed) ExportToOPML ¶ added in v0.2.0
func (f *TerminalFeed) ExportToOPML(path, list string) error
func (*TerminalFeed) Feed ¶
func (f *TerminalFeed) Feed(opts *FeedOptions) error
func (*TerminalFeed) ImportFromFile ¶ added in v0.2.0
func (f *TerminalFeed) ImportFromFile(path, list string) error
func (*TerminalFeed) ImportFromOPML ¶ added in v0.2.0
func (f *TerminalFeed) ImportFromOPML(path, list string) error
func (*TerminalFeed) ListFeeds ¶
func (f *TerminalFeed) ListFeeds(list string) error
func (*TerminalFeed) Lists ¶
func (f *TerminalFeed) Lists() error
func (*TerminalFeed) MergeLists ¶ added in v0.1.8
func (f *TerminalFeed) MergeLists(list, otherList string) error
func (*TerminalFeed) RemoveList ¶ added in v0.1.8
func (f *TerminalFeed) RemoveList(list string) error
func (*TerminalFeed) RenameList ¶ added in v0.1.8
func (f *TerminalFeed) RenameList(oldName, newName string) error
func (*TerminalFeed) Search ¶ added in v0.2.1
func (f *TerminalFeed) Search(query string, opts *FeedOptions) error
func (*TerminalFeed) SetAgent ¶
func (f *TerminalFeed) SetAgent(agent string)
func (*TerminalFeed) SetStyling ¶ added in v0.1.6
func (f *TerminalFeed) SetStyling(v uint8) error
func (*TerminalFeed) SetSummary ¶ added in v0.1.7
func (f *TerminalFeed) SetSummary(v uint8) error
func (*TerminalFeed) ShowCacheInfo ¶ added in v0.2.1
func (f *TerminalFeed) ShowCacheInfo() error
func (*TerminalFeed) ShowCachePath ¶ added in v0.2.1
func (f *TerminalFeed) ShowCachePath() error
func (*TerminalFeed) ShowConfigPath ¶ added in v0.2.1
func (f *TerminalFeed) ShowConfigPath() error
func (*TerminalFeed) UpdateColorMap ¶ added in v0.1.6
func (f *TerminalFeed) UpdateColorMap(mappings string) error
Click to show internal directories.
Click to hide internal directories.