job

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(j jobber)

func Dispatch

func Dispatch(j jobber) error

func Process

func Process(jobName string)

Types

type Job

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

func (*Job) Handle

func (j *Job) Handle(paramPtr proto.Message) error

func (*Job) Name

func (j *Job) Name() string

func (*Job) ParamData

func (j *Job) ParamData() proto.Message

func (*Job) Retries

func (j *Job) Retries() uint32

func (*Job) SetParam

func (j *Job) SetParam(paramPtr proto.Message)

Jump to

Keyboard shortcuts

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