scheduler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseScheduler

type BaseScheduler struct {
	Status    define.Status
	EventChan chan<- define.Event
	Config    define.Config
}

BaseScheduler :

func (*BaseScheduler) GetStatus

func (s *BaseScheduler) GetStatus() define.Status

GetStatus :

func (*BaseScheduler) IsDaemon

func (s *BaseScheduler) IsDaemon() bool

IsDaemon :

func (*BaseScheduler) Reload

func (s *BaseScheduler) Reload(ctx context.Context, config define.Config, tasks []define.Task) error

Reload :

func (*BaseScheduler) Start

func (s *BaseScheduler) Start(ctx context.Context) error

Start :

func (*BaseScheduler) Stop

func (s *BaseScheduler) Stop()

Stop :

func (*BaseScheduler) Wait

func (s *BaseScheduler) Wait()

Wait :

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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