Versions in this module Expand all Collapse all v1 v1.0.46 Jul 22, 2023 Changes in this version + const EntryStatusRead + const EntryStatusRemoved + const EntryStatusUnread + const FilterNotStarred + const FilterOnlyStarred + var ErrForbidden = errors.New("miniflux: access forbidden") + var ErrNotAuthorized = errors.New("miniflux: unauthorized (bad credentials)") + var ErrNotFound = errors.New("miniflux: resource not found") + var ErrServerError = errors.New("miniflux: internal server error") + type Categories []*Category + type Category struct + ID int64 + Title string + UserID int64 + func (c Category) String() string + type Client struct + func New(endpoint string, credentials ...string) *Client + func (c *Client) Categories() (Categories, error) + func (c *Client) CategoryEntries(categoryID int64, filter *Filter) (*EntryResultSet, error) + func (c *Client) CategoryEntry(categoryID, entryID int64) (*Entry, error) + func (c *Client) CategoryFeeds(categoryID int64) (Feeds, error) + func (c *Client) CreateCategory(title string) (*Category, error) + func (c *Client) CreateFeed(feedCreationRequest *FeedCreationRequest) (int64, error) + func (c *Client) CreateUser(username, password string, isAdmin bool) (*User, error) + func (c *Client) DeleteCategory(categoryID int64) error + func (c *Client) DeleteFeed(feedID int64) error + func (c *Client) DeleteUser(userID int64) error + func (c *Client) Discover(url string) (Subscriptions, error) + func (c *Client) Entries(filter *Filter) (*EntryResultSet, error) + func (c *Client) Entry(entryID int64) (*Entry, error) + func (c *Client) Export() ([]byte, error) + func (c *Client) Feed(feedID int64) (*Feed, error) + func (c *Client) FeedEntries(feedID int64, filter *Filter) (*EntryResultSet, error) + func (c *Client) FeedEntry(feedID, entryID int64) (*Entry, error) + func (c *Client) FeedIcon(feedID int64) (*FeedIcon, error) + func (c *Client) Feeds() (Feeds, error) + func (c *Client) FetchCounters() (*FeedCounters, error) + func (c *Client) Import(f io.ReadCloser) error + func (c *Client) MarkAllAsRead(userID int64) error + func (c *Client) MarkCategoryAsRead(categoryID int64) error + func (c *Client) MarkFeedAsRead(feedID int64) error + func (c *Client) Me() (*User, error) + func (c *Client) RefreshAllFeeds() error + func (c *Client) RefreshCategory(categoryID int64) error + func (c *Client) RefreshFeed(feedID int64) error + func (c *Client) ToggleBookmark(entryID int64) error + func (c *Client) UpdateCategory(categoryID int64, title string) (*Category, error) + func (c *Client) UpdateEntries(entryIDs []int64, status string) error + func (c *Client) UpdateFeed(feedID int64, feedChanges *FeedModificationRequest) (*Feed, error) + func (c *Client) UpdateUser(userID int64, userChanges *UserModificationRequest) (*User, error) + func (c *Client) UserByID(userID int64) (*User, error) + func (c *Client) UserByUsername(username string) (*User, error) + func (c *Client) Users() (Users, error) + type Enclosure struct + EntryID int64 + ID int64 + MimeType string + Size int + URL string + UserID int64 + type Enclosures []*Enclosure + type Entries []*Entry + type Entry struct + Author string + ChangedAt time.Time + CommentsURL string + Content string + CreatedAt time.Time + Date time.Time + Enclosures Enclosures + Feed *Feed + FeedID int64 + Hash string + ID int64 + ReadingTime int + ShareCode string + Starred bool + Status string + Tags []string + Title string + URL string + UserID int64 + type EntryResultSet struct + Entries Entries + Total int + type Feed struct + AllowSelfSignedCertificates bool + BlocklistRules string + Category *Category + CheckedAt time.Time + Cookie string + Crawler bool + Disabled bool + EtagHeader string + FeedURL string + FetchViaProxy bool + HideGlobally bool + ID int64 + IgnoreHTTPCache bool + KeeplistRules string + LastModifiedHeader string + ParsingErrorCount int + ParsingErrorMsg string + Password string + RewriteRules string + ScraperRules string + SiteURL string + Title string + UserAgent string + UserID int64 + Username string + type FeedCounters struct + ReadCounters map[int64]int + UnreadCounters map[int64]int + type FeedCreationRequest struct + AllowSelfSignedCertificates bool + BlocklistRules string + CategoryID int64 + Cookie string + Crawler bool + Disabled bool + FeedURL string + FetchViaProxy bool + HideGlobally bool + IgnoreHTTPCache bool + KeeplistRules string + Password string + RewriteRules string + ScraperRules string + UserAgent string + Username string + type FeedIcon struct + Data string + ID int64 + MimeType string + type FeedModificationRequest struct + AllowSelfSignedCertificates *bool + BlocklistRules *string + CategoryID *int64 + Cookie *string + Crawler *bool + Disabled *bool + FeedURL *string + FetchViaProxy *bool + HideGlobally *bool + IgnoreHTTPCache *bool + KeeplistRules *string + Password *string + RewriteRules *string + ScraperRules *string + SiteURL *string + Title *string + UserAgent *string + Username *string + type Feeds []*Feed + type Filter struct + After int64 + AfterEntryID int64 + Before int64 + BeforeEntryID int64 + CategoryID int64 + Direction string + FeedID int64 + Limit int + Offset int + Order string + Search string + Starred string + Status string + Statuses []string + type Subscription struct + Title string + Type string + URL string + func (s Subscription) String() string + type Subscriptions []*Subscription + type User struct + CJKReadingSpeed int + CategoriesSortingOrder string + DefaultHomePage string + DefaultReadingSpeed int + DisplayMode string + EntriesPerPage int + EntryDirection string + EntryOrder string + EntrySwipe bool + GestureNav string + GoogleID string + ID int64 + IsAdmin bool + KeyboardShortcuts bool + Language string + LastLoginAt *time.Time + MarkReadOnView bool + OpenIDConnectID string + Password string + ShowReadingTime bool + Stylesheet string + Theme string + Timezone string + Username string + func (u User) String() string + type UserCreationRequest struct + GoogleID string + IsAdmin bool + OpenIDConnectID string + Password string + Username string + type UserModificationRequest struct + CJKReadingSpeed *int + CategoriesSortingOrder *string + DefaultHomePage *string + DefaultReadingSpeed *int + DisplayMode *string + EntriesPerPage *int + EntryDirection *string + EntryOrder *string + EntrySwipe *bool + GestureNav *string + GoogleID *string + IsAdmin *bool + KeyboardShortcuts *bool + Language *string + MarkReadOnView *bool + OpenIDConnectID *string + Password *string + ShowReadingTime *bool + Stylesheet *string + Theme *string + Timezone *string + Username *string + type Users []User Other modules containing this package miniflux.app/v2