app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFeedOptions

type AddFeedOptions struct {
	URL        string
	CategoryID int64
}

type AddLinkOptions

type AddLinkOptions struct {
	URL   string
	Notes string
	Tags  string
}

type AddPageOptions

type AddPageOptions struct {
	URL     string
	Tags    string
	Archive bool
}

type App

type App struct {
	Config *config.Config
}

func New

func New(cfg *config.Config) *App

func (*App) AddFeed

func (a *App) AddFeed(opts AddFeedOptions) error
func (a *App) AddLink(opts AddLinkOptions) error

func (*App) AddPage

func (a *App) AddPage(opts AddPageOptions) error

func (*App) ListEntries

func (a *App) ListEntries(opts EntriesOptions) error

func (*App) ListFeeds

func (a *App) ListFeeds(opts ListFeedsOptions) error
func (a *App) ListLinks(opts ListLinksOptions) error

func (*App) ListPages

func (a *App) ListPages(opts ListPagesOptions) error

func (*App) SaveEntry

func (a *App) SaveEntry(entryID int64) error

type EntriesOptions

type EntriesOptions struct {
	FeedID  int64
	Search  string
	Limit   int
	Status  string
	Starred string
	Offset  int
	JSON    string
	JQ      string
}

type ListFeedsOptions

type ListFeedsOptions struct {
	JSON string
	JQ   string
}

type ListLinksOptions

type ListLinksOptions struct {
	Query  string
	Limit  int
	Offset int
	JSON   string
	JQ     string
}

type ListPagesOptions

type ListPagesOptions struct {
	Archive int
	Starred int
	Page    int
	PerPage int
	Tags    string
	Domain  string
	JSON    string
	JQ      string
}

Jump to

Keyboard shortcuts

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