Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronJob ¶
type CronJob struct {
// contains filtered or unexported fields
}
CronJob triggers applications
func NewCronJob ¶
func NewCronJob( log *logrus.Entry, application *application.Application) *CronJob
NewCronJob service
func (*CronJob) ClearDatabase ¶
ClearDatabase delete old trainalarms from database
func (*CronJob) NotificationChannel ¶
func (c *CronJob) NotificationChannel() chan telegramconversation.TContext
NotificationChannel returns the channel with telegram notifications
func (*CronJob) NotifyUsers ¶
NotifyUsers about train delays
Click to show internal directories.
Click to hide internal directories.