Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { ID string Name string Events []string Status string Completed bool Error error Fn JobFunction `json:"-"` }
Job is a task being run asyncronosly
func NewJob ¶
func NewJob(name string, fn JobFunction) (j *Job)
func (*Job) GenerateID ¶
func (j *Job) GenerateID()
type JobFunction ¶
JobFunction is a function to be run asyncronosly as a job
Click to show internal directories.
Click to hide internal directories.