jobs

package
v0.0.0-...-cf413bb Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

scheduled and async jobs. Jobs struct holds app state. Scheduler starts jobs, jobs enqueue tasks, tasks to the actual work Copyright (C) 2021 Sysreturn Community Contributors SPDX-License-Identifier: AGPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jobs

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

func NewJobScheduler

func NewJobScheduler(db *sql.DB, stor storage.Storage) *Jobs

func (*Jobs) Shutdown

func (jobs *Jobs) Shutdown()

func (*Jobs) Start

func (jobs *Jobs) Start()

Jump to

Keyboard shortcuts

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