Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedItem ¶
type FeedItem struct { Title string `json:"title"` Content string `json:"content"` URL string `json:"url"` Published time.Time `json:"published"` GUID string `json:"guid"` }
FeedItem stores info of feed entry
type FeedReader ¶
type FeedReader struct { Sources []string Feeds []Feed FailedFeeds []string Day *time.Time Verbose bool }
func (*FeedReader) FetchSerial ¶
func (fr *FeedReader) FetchSerial()
func (*FeedReader) LogFailures ¶
func (fr *FeedReader) LogFailures(dir string, dayTime *time.Time) error
LogFailures stores all failed feed downloads
type UserAgentTransport ¶
type UserAgentTransport struct {
http.RoundTripper
}
Click to show internal directories.
Click to hide internal directories.