Documentation ¶
Index ¶
- type Job
- func (job *Job) SetCategory(value string) *Job
- func (job *Job) SetData(key string, value interface{}) *Job
- func (job *Job) SetID(value string) *Job
- func (job *Job) SetName(value string) *Job
- func (job *Job) SetOrigin(value string) *Job
- func (job *Job) SetPriority(value int) *Job
- func (job *Job) SetPriorityCritical() *Job
- func (job *Job) SetPriorityHigh() *Job
- func (job *Job) SetPriorityLow() *Job
- func (job *Job) SetPriorityMedium() *Job
- func (job *Job) SetPriorityNone() *Job
- func (job *Job) SetRetries(value int) *Job
- func (job *Job) SetRunAfter(value time.Time) *Job
- func (job *Job) SetUUID() *Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { ID string `json:"id"` Name string `json:"name"` Namespace string `json:"namespace"` Type string `json:"type"` Origin string `json:"origin"` Priority int `json:"priority"` Data map[string]interface{} `json:"data"` RunAfter time.Time `json:"run_after"` Retries int `json:"retries"` Category *string `json:"category"` }
Job AFAIRE.
func (*Job) SetPriorityCritical ¶
SetPriorityCritical AFAIRE.
Click to show internal directories.
Click to hide internal directories.