- Implemented comprehensive job management features, including pagination for job listing, active job retrieval, and job counting. - Enhanced job saving logic to support both creation and updates, ensuring proper handling of job metadata. - Introduced category management with automatic creation and retrieval of categories during job operations. - Added execution management capabilities, including progress tracking and logging for job executions. - Improved error handling and validation across job and execution methods, ensuring robustness in job processing. - Updated documentation to reflect new features and usage examples for job management and execution tracking.
9 lines
188 B
Go
9 lines
188 B
Go
package job
|
|
|
|
// ProgressManager the progress manager
|
|
type ProgressManager interface {
|
|
Set(progress int, message string) error
|
|
}
|
|
|
|
// JobManager the job manager
|
|
type JobManager interface{}
|