feat: workflow run dispatcher

This commit is contained in:
Fu Diwei
2025-02-08 22:44:13 +08:00
parent b9e28db089
commit 0bc40fd676
13 changed files with 472 additions and 226 deletions

View File

@@ -13,7 +13,7 @@ import (
type workflowService interface {
StartRun(ctx context.Context, req *dtos.WorkflowStartRunReq) error
CancelRun(ctx context.Context, req *dtos.WorkflowCancelRunReq) error
Stop(ctx context.Context)
Shutdown(ctx context.Context)
}
type WorkflowHandler struct {