task

package
v0.0.0-...-63bfc48 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(jobs ...*Job) error

func Stop

func Stop()

Types

type Job

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

func NewJob

func NewJob(spec string, fun func()) *Job

func (*Job) Run

func (j *Job) Run()

func (*Job) Spec

func (j *Job) Spec() string

Jump to

Keyboard shortcuts

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