scheduler

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunProcessorJob

type RunProcessorJob struct {
	Name             string
	Log              zerolog.Logger
	ProcessorService *processor.Service
}

func (*RunProcessorJob) Run

func (j *RunProcessorJob) Run()

type Service

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

func NewService

func NewService(cfg *domain.Config, processorSvc *processor.Service) *Service

func (*Service) AddJob

func (s *Service) AddJob(job cron.Job, interval string, identifier string) (int, error)

func (*Service) Start

func (s *Service) Start()

func (*Service) Stop

func (s *Service) Stop()

Jump to

Keyboard shortcuts

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