Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowRepository ¶
type WorkflowRepository interface { Create(ctx context.Context, req domain.Workflow) (int64, error) List(ctx context.Context, offset, limit int64) ([]domain.Workflow, error) Total(ctx context.Context) (int64, error) Update(ctx context.Context, req domain.Workflow) (int64, error) UpdateProcessId(ctx context.Context, id int64, processId int) error Delete(ctx context.Context, id int64) (int64, error) Find(ctx context.Context, id int64) (domain.Workflow, error) }
func NewWorkflowRepository ¶
func NewWorkflowRepository(dao dao.WorkflowDAO) WorkflowRepository
Click to show internal directories.
Click to hide internal directories.