package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Feb 28, 2015
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Notifications displayed in the counter
Check with the given feedId and link, there is already a notification or not
type Notification struct {
NotificationId string `json:"notificationId"`
FeedId string `json:"feedId"`
Title string `json:"title"`
Link string `json:"link"`
PubDate time.Time `json:"-"`
}
Get the notification from a given id
Fetch all notifications from the db
Instanciate a new Notification
Save the notification in the database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.