tasks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeFileProcessing = "file:process"
)

Variables

This section is empty.

Functions

func HandleFileProcessingTask

func HandleFileProcessingTask(ctx context.Context, t *asynq.Task) error

func NewFileProcessingTask

func NewFileProcessingTask(filename string) (*asynq.Task, error)

Types

type FileProcessingPayload

type FileProcessingPayload struct {
	Filename string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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