worksrv

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkTypeTask                    = "task"
	WorkTypePipeline                = "pipeline"
	DefaultJobTimeout time.Duration = 84600 * time.Second
)

Variables

This section is empty.

Functions

func New

func New(
	storage port.Storage,
	taskrepo *taskrepo.TaskRepository,
	time rtime.Time, timeoutUnit time.Duration,
	workers, queue_capacity int, logger *logrus.Logger) *workservice

New creates a new work service.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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