Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(option *FetchOption)
Types ¶
type FeedSourceConfig ¶
type FeedSourceConfig struct {
Sources []FeedSourceConfigItem `yaml:"sources"`
}
type FeedSourceConfigItem ¶
type FetchOption ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
func NewFileStorage ¶
func NewFileStorage(prefix string) *FileStorage
func (FileStorage) GetTemplate ¶
func (storage FileStorage) GetTemplate(filename string) string
func (FileStorage) StoreRSS ¶
func (storage FileStorage) StoreRSS(filename string, str string)
type Item ¶
type Item struct { ID int64 `json:"id"` FeedID int64 `json:"feedId"` GUID string `json:"guid"` Title string `json:"title"` Description string `json:"description"` PubDate time.Time `json:"pubdate"` Raw string `json:"raw"` EnclosureUrl string `json:"enclosureUrl"` Entry string `json:"entry"` }
Item represents an item in a feed
Click to show internal directories.
Click to hide internal directories.