job

package
v0.0.0-...-5357738 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IJobFactory

type IJobFactory interface {
	Start() error
	Stop(JobType) error
	GetJobber(JobType) (Jobber, error)
	Register(Jobber, JobType)
	IsSuccess(JobType) bool
}
var (
	JobFactory IJobFactory
)

func GetJobFactory

func GetJobFactory() IJobFactory

type JobType

type JobType int

type Jobber

type Jobber interface {
	Start()
	Stop()
	GetErr() ([]string, bool)
}

Jump to

Keyboard shortcuts

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