From bc1e6283d823fddefe308e7f7fdb5b4cd53a502e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 20 Oct 2016 11:00:49 +0100 Subject: [PATCH] Make some fields 'public' --- src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go index b470ae5..484a19c 100644 --- a/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go +++ b/src/github.com/matrix-org/go-neb/services/rssbot/rssbot.go @@ -37,9 +37,9 @@ type rssBotService struct { Feeds map[string]struct { // feed_url => { } PollIntervalMins int `json:"poll_interval_mins"` Rooms []string `json:"rooms"` + IsFailing bool `json:"is_failing"` // True if rss bot is unable to poll this feed + FeedUpdatedTimestampSecs int64 `json:"last_updated_ts_secs"` // The time of the last successful poll NextPollTimestampSecs int64 // Internal: When we should poll again - FeedUpdatedTimestampSecs int64 // Internal: The time of the last successful poll - IsFailing bool // Internal: True if rss bot is unable to poll this feed RecentGUIDs []string // Internal: The most recently seen GUIDs. Sized to the number of items in the feed. } `json:"feeds"` }