repository

package
v0.0.0-...-310dcff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2017 License: MIT Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL