Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { gorm.Model Name string User *User UserID uint64 `gorm:"index"` Feeds []Feed `gorm:"many2many:feed_categories;"` }
Category represents a group of feeds
type Feed ¶
type Feed struct { gorm.Model Title string URL string `gorm:"not null:unique"` Description string SiteURL string Favicon string Domain string RequiresAuth bool Auth string HotLinking bool Unread int LastFetch time.Time AddedByID uint AddedBy *User }
Feed is the a url pointing to an RSS or Atom feed
type FunnelDB ¶
FunnelDB wraps a gorm.DB connection and provides a useful interface for interacting with the database.
type Item ¶
type Item struct { gorm.Model Feed *Feed FeedID uint `gorm:"index"` UID string Title string Author string Description string Link string PostedAt time.Time }
Item is a single feed item. This is usually a post belonging to the feed
type Subscription ¶
type SubscriptionCategory ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.