scheduler

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job added in v0.7.0

type Job string
const (
	JobMaintDeliveryErrorTimeout Job = "MaintDeliveryErrorTimeout"
	JobUpdateAccountInfo         Job = "UpdateAccountInfo"
	JobUpdateInstanceInfo        Job = "UpdateInstanceInfo"
)

type Module

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

func New

func New(l logic.Logic, r runner.Runner) (*Module, error)

func (*Module) Jobs

func (m *Module) Jobs() []*gocron.Job

func (*Module) Run added in v0.7.0

func (m *Module) Run(t Job) error

func (*Module) Start

func (m *Module) Start()

Jump to

Keyboard shortcuts

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