runner

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPanic = errors.New("panic")
View Source
var ErrUnknownPanic = errors.New("unknown panic")

Functions

func InitRunner added in v0.3.8

func InitRunner(lc fx.Lifecycle, runner *Runner)

Types

type Runner

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

func NewRunner

func NewRunner(db *gorm.DB, q queue.WorkerQueue, r *util.Store, staticConfig config.StaticConfig) *Runner

func (*Runner) MasterRunner

func (d *Runner) MasterRunner() (err error)

func (Runner) Score

func (d Runner) Score(timeout time.Duration, rnd *round.Round)

Jump to

Keyboard shortcuts

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