Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
App = kingpin.New("rss2go", "A rss watcher and mailer")
)
Functions ¶
func PrintMemUsage ¶
func PrintMemUsage()
PrintMemUsage outputs the current, total and OS memory being used. As well as the number of garage collection cycles completed.
func RegisterCommands ¶
func RegisterCommands()
RegisterCommands registers all sub commands usable by Kingpin.
Types ¶
type Daemon ¶
type Daemon struct { Config *config.Config CrawlChan chan *feedwatcher.FeedCrawlRequest MailChan chan *mail.Request Feeds map[string]*feedwatcher.FeedWatcher DBH *db.Handle PollFeeds bool Logger logrus.FieldLogger // contains filtered or unexported fields }
Daemon encapsulates all the information about a Daemon instance.
func (*Daemon) CreateAndStartFeedWatchers ¶
CreateAndStartFeedWatchers does exactly what it says
Source Files ¶
Click to show internal directories.
Click to hide internal directories.