~jamesh/account-polld/twitter-plugin

« back to all changes in this revision

Viewing changes to plugins/gmail/plugin.go

  • Committer: Sergio Schvezov
  • Date: 2014-07-17 11:10:40 UTC
  • mfrom: (6.2.11 account-polld)
  • Revision ID: sergio.schvezov@canonical.com-20140717111040-1vv54ah83x60b0wt
Add Facebook plugin. It currently doesn't support paginated results, and requires a token with "manage_notifications" permission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        return &GmailPlugin{}
32
32
}
33
33
 
34
 
func (p *GmailPlugin) Poll(authData *accounts.AuthData) (*[]plugins.Notification, error) {
 
34
func (p *GmailPlugin) Poll(authData *accounts.AuthData) ([]plugins.Notification, error) {
35
35
        return nil, nil
36
36
}
37
37