starter

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 20 Imported by: 0

README

starter

starter is a dispatcher for running job

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CountRunning is count of running semaphore
	CountRunning = 0
	// CountWaiting is count of waiting job
	CountWaiting = 0
)

Functions

This section is empty.

Types

type Starter

type Starter struct {
	// contains filtered or unexported fields
}

Starter is dispatcher for running job

func New

New create starter instance

func (*Starter) Loop

func (s *Starter) Loop(ctx context.Context) error

Loop is main loop for starter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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