worker

package
v0.3.10-0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNewWorkerFunc

func RegisterNewWorkerFunc(name string, n NewWorkerFunc)

Types

type IWorker

type IWorker interface {
	Start(ctx context.Context)
}

func NewWorker

func NewWorker(opts *options.Options) IWorker

type NewWorkerFunc

type NewWorkerFunc func(opts *options.Options) IWorker

Jump to

Keyboard shortcuts

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