Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionDAO ¶
type ExecutionDAO interface { // Upsert 记录任务执行状态和进度 Upsert(ctx context.Context, id int64, status task.ExecStatus, progress uint8) (int64, error) GetLastExecution(ctx context.Context, tid int64) (task.Execution, error) Create(ctx context.Context, tid int64) (int64, error) Update(ctx context.Context, eid int64, status task.ExecStatus, progress int) error }
ExecutionDAO 任务执行情况
Click to show internal directories.
Click to hide internal directories.