schedulemanager

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScheduleManager

func NewScheduleManager(ctx context.Context, logger *log.Logger) *scheduleManager

Types

type CronEntry

type CronEntry struct {
	EntryID cron.EntryID
	Ids     map[string]bool
}

type ScheduleManager

type ScheduleManager interface {
	Stop()
	Start()
	Add(entry smtypes.ScheduleEntry)
	Remove(entry smtypes.ScheduleEntry)
	Ch() chan string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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