service

package
v0.0.0-...-16c37a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 1 Imported by: 0

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()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL