Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobHandler ¶
type JobHandler interface {
Run(job *Job)
}
type PanicHandler ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) AddJobHandler ¶
func (r *Runner) AddJobHandler(jobType string, handler JobHandler) error
func (*Runner) SetPanicHandler ¶
func (r *Runner) SetPanicHandler(panicHandler PanicHandler)
Click to show internal directories.
Click to hide internal directories.