Skip to content

Commit 051c86b

Browse files
committed
Add service method
1 parent fa70b8a commit 051c86b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

service.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ import (
99
//go:generate mockery -name=Service
1010
type Service interface {
1111
StartWorkflow(ctx context.Context, workflowName, revision, transactionId string, payload interface{}) (*StartWorkflowResponse, goerror.Error)
12+
GetWorkflowDefinitions() ([]*WorkflowDefinition, goerror.Error)
13+
GetTaskDefinitions() ([]*TaskDefinition, goerror.Error)
14+
SetTaskDefinition(t TaskDefinition) goerror.Error
15+
SetWorkflowDefinition(t WorkflowDefinition) goerror.Error
1216
}

0 commit comments

Comments
 (0)