queue

package
v0.0.0-...-e8a6761 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	ID       string
	File     *multipart.FileHeader
	Template int
}

type Queue

type Queue struct {
	// contains filtered or unexported fields
}
var Analysis *Queue

func GetAnalysisQueue

func GetAnalysisQueue() *Queue

func (*Queue) Close

func (q *Queue) Close()

func (*Queue) Enqueue

func (q *Queue) Enqueue(job *Job)

func (*Queue) Init

func (q *Queue) Init()

type Worker

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

Jump to

Keyboard shortcuts

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