schedule_manager

package
v1.4.15-slog1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 *unilogger.Logger) *scheduleManager

Types

type CronEntry

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

type ScheduleManager

type ScheduleManager interface {
	Stop()
	Start()
	Add(entry ScheduleEntry)
	Remove(entry 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