service

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 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 Service

type Service interface {
	Register(ctx context.Context, req domain.Runner) (int64, error)
	Update(ctx context.Context, req domain.Runner) (int64, error)
	Detail(ctx context.Context, id int64) (domain.Runner, error)
	Delete(ctx context.Context, id int64) (int64, error)
	ListRunner(ctx context.Context, offset, limit int64) ([]domain.Runner, int64, error)
	FindByCodebookUid(ctx context.Context, codebookUid string, tag string) (domain.Runner, error)
	ListByCodebookUids(ctx context.Context, codebookUids []string) ([]domain.Runner, error)
	ListByIds(ctx context.Context, ids []int64) ([]domain.Runner, error)
	ListTagsPipelineByCodebookUid(ctx context.Context) ([]domain.RunnerTags, error)
}

func NewService

func NewService(repo repository.RunnerRepository) Service

Jump to

Keyboard shortcuts

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