Documentation
¶
Index ¶
- Constants
- type Feed
- type Link
- type Notification
- type NotificationsPullFeed
- func (f *NotificationsPullFeed) FeedName() string
- func (f *NotificationsPullFeed) FeedType() string
- func (f *NotificationsPullFeed) FeedURL() string
- func (f *NotificationsPullFeed) NotificationsFor(uuid string) []*Notification
- func (f *NotificationsPullFeed) SetCredentials(username string, password string)
- func (f *NotificationsPullFeed) SetHTTPCaller(httpCaller httpcaller.Caller)
- func (f *NotificationsPullFeed) Start()
- func (f *NotificationsPullFeed) Stop()
- type NotificationsPushFeed
- func (f *NotificationsPushFeed) FeedName() string
- func (f *NotificationsPushFeed) FeedType() string
- func (f *NotificationsPushFeed) FeedURL() string
- func (f *NotificationsPushFeed) IsConnected() bool
- func (f *NotificationsPushFeed) NotificationsFor(uuid string) []*Notification
- func (f *NotificationsPushFeed) SetCredentials(username string, password string)
- func (f *NotificationsPushFeed) SetHTTPCaller(httpCaller httpcaller.Caller)
- func (f *NotificationsPushFeed) Start()
- func (f *NotificationsPushFeed) Stop()
Constants ¶
View Source
const NotificationsPull = "Notifications-Pull"
View Source
const NotificationsPush = "Notifications-Push"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feed ¶
type Feed interface { Start() Stop() FeedName() string FeedURL() string FeedType() string SetCredentials(username string, password string) NotificationsFor(uuid string) []*Notification }
func NewNotificationsFeed ¶
type Notification ¶
ignore unused fields (e.g. type, apiUrl)
type NotificationsPullFeed ¶
type NotificationsPullFeed struct {
// contains filtered or unexported fields
}
func (*NotificationsPullFeed) FeedType ¶
func (f *NotificationsPullFeed) FeedType() string
func (*NotificationsPullFeed) NotificationsFor ¶
func (f *NotificationsPullFeed) NotificationsFor(uuid string) []*Notification
func (*NotificationsPullFeed) SetCredentials ¶
func (*NotificationsPullFeed) SetHTTPCaller ¶ added in v1.0.4
func (f *NotificationsPullFeed) SetHTTPCaller(httpCaller httpcaller.Caller)
func (*NotificationsPullFeed) Start ¶
func (f *NotificationsPullFeed) Start()
func (*NotificationsPullFeed) Stop ¶
func (f *NotificationsPullFeed) Stop()
type NotificationsPushFeed ¶
type NotificationsPushFeed struct {
// contains filtered or unexported fields
}
func (*NotificationsPushFeed) FeedType ¶
func (f *NotificationsPushFeed) FeedType() string
func (*NotificationsPushFeed) IsConnected ¶
func (f *NotificationsPushFeed) IsConnected() bool
func (*NotificationsPushFeed) NotificationsFor ¶
func (f *NotificationsPushFeed) NotificationsFor(uuid string) []*Notification
func (*NotificationsPushFeed) SetCredentials ¶
func (*NotificationsPushFeed) SetHTTPCaller ¶ added in v1.0.4
func (f *NotificationsPushFeed) SetHTTPCaller(httpCaller httpcaller.Caller)
func (*NotificationsPushFeed) Start ¶
func (f *NotificationsPushFeed) Start()
func (*NotificationsPushFeed) Stop ¶
func (f *NotificationsPushFeed) Stop()
Click to show internal directories.
Click to hide internal directories.