Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommunicationService ¶
type CommunicationService interface {
SendQueuedNotifications()
}
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func NewScheduler ¶
func NewScheduler( shutdownsService ShutdownsService, subscriptionService SubscriptionService, notificationService CommunicationService, ) *Scheduler
func (*Scheduler) RefreshTable ¶
func (s *Scheduler) RefreshTable()
func (*Scheduler) SendNotificationsTask ¶
func (s *Scheduler) SendNotificationsTask()
func (*Scheduler) SendUpdates ¶
func (s *Scheduler) SendUpdates()
type ShutdownsService ¶
type ShutdownsService interface {
RefreshShutdownsTable()
}
type SubscriptionService ¶
type SubscriptionService interface {
SendUpdates()
}
Click to show internal directories.
Click to hide internal directories.