Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sumo ¶
type Sumo struct { DSN string Config config.Config OnDBErr func(err error) *zerolog.Event OnFetchErr func(msg string, err error) GetPatterns func(db *gorm.DB) ([]dbmod.Pattern, error) GetFeedUrls func(db *gorm.DB) ([]string, error) FetchFeed func(url string) (dbmod.Feed, error) TagFeed func(feed dbmod.Feed, patterns []dbmod.Pattern) (dbmod.Feed, error) SaveFeed func(db *gorm.DB, feed dbmod.Feed) error // contains filtered or unexported fields }
func (*Sumo) UpdateFeeds ¶
Click to show internal directories.
Click to hide internal directories.