Versions in this module Expand all Collapse all v1 v1.2.0 Jun 26, 2025 Changes in this version type Store + func (store *Store) GetUserColumns(userId int64) (int, error) + func (store *Store) MoveFeedDown(userID int64, i int64) error + func (store *Store) MoveFeedUp(userID int64, i int64) error + func (store *Store) SetUserColumns(userId int64, columns int) error v1.0.1 Jun 25, 2025 v1.0.0 Jun 25, 2025 Changes in this version + type Feed struct + CacheUntil time.Time + ETag string + GridPosition int + ID int64 + LastFetchedAt time.Time + LastModified string + Title string + URL string + type Post struct + Content string + ID int64 + Link string + PublishedAt time.Time + Seen bool + Title string + type Store struct + func NewStore(dbPath string) (*Store, error) + func (store *Store) AddFeed(url string) (int64, error) + func (store *Store) AddFeedForUser(userId int64, url string) (int64, error) + func (store *Store) AddPost(feedId int64, guid, title, link string, publishedAt time.Time, content string) error + func (store *Store) DeleteFeed(feedId string) error + func (store *Store) GetAllFeeds() ([]Feed, error) + func (store *Store) GetFeedByURL(url string) (*Feed, error) + func (store *Store) GetFeedPosts(feedId int64, userId int64, limit int) ([]Post, error) + func (store *Store) GetOrCreateUser(oidcSubject, oidcIssuer string) (int64, error) + func (store *Store) GetPost(postID int64) (*Post, error) + func (store *Store) GetUserFeeds(userId int64) ([]Feed, error) + func (store *Store) GetUserPostsPerFeed(userId int64) (int, error) + func (store *Store) InitAndVerifyDb(dbPath string) error + func (store *Store) MarkAllFeedPostsAsSeen(userId int64, feedId string) error + func (store *Store) MarkPostAsSeen(userId int64, postId string) error + func (store *Store) SetUserPostsPerFeed(userId int64, postsPerFeed int) error + func (store *Store) UpdateFeedCacheInfo(feedId int64, etag, lastModified string, cacheUntil time.Time) error + func (store *Store) UpdateFeedLastFetched(feedId int64, timestamp time.Time) error + func (store *Store) UpdateFeedTitle(feedId int64, title string) error