Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedItem ¶
type FeedItem struct { Description string FeedName string FeedTitle string FeedURL string IconURL string ImageURL string IsUpdated bool ItemURL string Published time.Time Title string }
FeedItem represents a feed item to be posted to a webhook
func NewFeedItem ¶
type Message ¶
Message represents a wrapper around a feed item with additional header information for queue processing.
type Messenger ¶
type Messenger struct {
// contains filtered or unexported fields
}
A Messenger handles posting messages to webhooks. Failed messages are automatically retried and rate limits are respected. Messages are kept in a permanent queue, which can survive process restarts.
func NewMessenger ¶
Click to show internal directories.
Click to hide internal directories.