Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, req domain.Workflow) (int64, error) List(ctx context.Context, offset, limit int64) ([]domain.Workflow, int64, error) Find(ctx context.Context, id int64) (domain.Workflow, error) Update(ctx context.Context, req domain.Workflow) (int64, error) Delete(ctx context.Context, id int64) (int64, error) Deploy(ctx context.Context, flow domain.Workflow) error // FindPassEdgeIds 查找所有已经完成的边id FindPassEdgeIds(ctx context.Context, wf domain.Workflow, tasks []model.Task) ([]string, error) GetAutomationProperty(workflow easyflow.Workflow, nodeId string) (easyflow.AutomationProperty, error) }
func NewService ¶
func NewService(repo repository.WorkflowRepository, engineCovert easyflow.ProcessEngineConvert) Service
Click to show internal directories.
Click to hide internal directories.