repository

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL