models

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedEntry

type FeedEntry struct {
	ID       string        `bson:"_id,omitempty"`
	Title    string        `bson:"title,omitempty"`
	SourceID bson.ObjectId `bson:"source_id,omitempty"`
	Content  string        `bson:"content,omitempty"`
	AddedOn  time.Time     `bson:"added_on,omitempty"`
}

type FeedSource

type FeedSource struct {
	ID          bson.ObjectId `bson:"_id,omitempty"`
	RssUrls     []string      `bson:"rss_urls,omitempty"`
	Description string        `bson:"description,omitempty"`
	Active      bool          `bson:"active,omitempty"`
	UseFeedGuid bool          `bson:"use_feed_guid,omitempty"`
	LastCheck   time.Time     `bson:"last_check,omitempty"`
}

Jump to

Keyboard shortcuts

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