Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Job ¶
type Job struct { Cron string `json:"cron"` Service string `json:"service"` Disable bool `json:"disable"` Immediately bool `json:"immediately"` Monopoly bool `json:"monopoly"` WithSeconds bool `json:"with_seconds"` Meta metadata.Metadata `json:"meta,omitempty"` DlockKey string `json:"-"` // contains filtered or unexported fields }
func (*Job) CalcExpireSeconds ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.