scheduler

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobPayload

type JobPayload struct {
	MonitorID uuid.UUID
}

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(
	ctx context.Context,
	schedulerConfig *config.SchedulerConfig,
	jobchan chan JobPayload,
	redisSvc *rdb.Client,
	logger *zerolog.Logger,
) *Scheduler

func (*Scheduler) StartScheduler

func (sc *Scheduler) StartScheduler()

Jump to

Keyboard shortcuts

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