Documentation
¶
Overview ¶
Package crontimer is used to kick off events on the website. Instead of run a cron on the website that polls every client, we run the cron on the client, so each of them polls the website. Crons are added here solely by the website in the startup payload.
Index ¶
Constants ¶
View Source
const ( TrigPollSite common.TriggerName = "Polling Notifiarr for new settings." TrigUpCheck common.TriggerName = "Telling Notifiarr website we are still up!" )
TrigPollSite is our site polling trigger identifier.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action contains the exported methods for this package.
type Timer ¶
type Timer struct {
*clientinfo.CronConfig
// contains filtered or unexported fields
}
Timer is used to trigger actions.
func (*Timer) Run ¶
func (t *Timer) Run(input *common.ActionInput)
Run fires a custom cron timer (GET).
Click to show internal directories.
Click to hide internal directories.