Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFeedRequest ¶
AddFeedRequest is the struct for the add request
type RssFeed ¶
type RssFeed struct { ID int64 `json:"ID" gorm:"primarykey"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index"` Title string `json:"Title"` Description string `json:"Description"` URL string `json:"URL" gorm:"not null,unique"` Filter string `json:"Filter" gorm:"not null,unique"` }
RssFeed represents a rss feed
type RssItem ¶
type RssItem struct { ID int64 `json:"-" gorm:"primarykey"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `json:"-" gorm:"index"` Title string `json:"Title"` Description string `json:"Description"` URL string `json:"URL" gorm:"not null,unique"` Sent bool `json:"-"` Feed int64 `json:"-" gorm:"not null"` ImageURL string `json:"-"` }
RssItem is a rss element
Click to show internal directories.
Click to hide internal directories.