worker

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Syncer

type Syncer struct {
	Interact string
	CronJobs []string
	// contains filtered or unexported fields
}

func (*Syncer) SetCronner

func (r *Syncer) SetCronner(pluginType string)

func (*Syncer) SetInteractor

func (r *Syncer) SetInteractor(pluginType string)

func (*Syncer) SetStage

func (r *Syncer) SetStage(interfaceName string, stageIndex int, stageConfig interface{})

func (*Syncer) StartCronners

func (r *Syncer) StartCronners()

func (*Syncer) StartInteractor

func (r *Syncer) StartInteractor()

func (*Syncer) StopCronners

func (r *Syncer) StopCronners()

func (*Syncer) StopInteractor

func (r *Syncer) StopInteractor()

type Worker

type Worker interface {
	plug.InteractUser
	plug.CronUser
}

func InitWorker

func InitWorker() Worker

Jump to

Keyboard shortcuts

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