task

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker interface {
	Run(ctx context.Context)
}

Worker .

func NewWorker

func NewWorker(log logs.Logger, c *pb.Checker, ctx plugins.Context, handler plugins.Handler) (Worker, error)

type WorkerManager

type WorkerManager interface {
	Put(key int64, w Worker)
	Remove(key int64)
}

WorkerManager .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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