Documentation ¶
Index ¶
Constants ¶
View Source
const FeedEntriesCollection string = "feed_entries"
View Source
const FeedSourceCollection string = "feed_sources"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedEntriesMongoRepo ¶
type FeedEntriesMongoRepo struct {
Session *mgo.Session
}
func (*FeedEntriesMongoRepo) IsNewEntry ¶
func (repo *FeedEntriesMongoRepo) IsNewEntry(feedEntryId string) (bool, error)
func (*FeedEntriesMongoRepo) Save ¶
func (repo *FeedEntriesMongoRepo) Save(newFeedEntry models.FeedEntry)
type FeedSourceMongoRepo ¶
type FeedSourceMongoRepo struct {
Session *mgo.Session
}
func (*FeedSourceMongoRepo) GetAllActive ¶
func (repo *FeedSourceMongoRepo) GetAllActive() ([]models.FeedSource, error)
func (*FeedSourceMongoRepo) UpdateFeedChecked ¶
func (repo *FeedSourceMongoRepo) UpdateFeedChecked(feedSource *models.FeedSource, whenChecked time.Time)
Click to show internal directories.
Click to hide internal directories.