usecase

package
v0.0.0-...-53f0542 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewObservationAnalyzerRequestUsecase

func NewObservationAnalyzerRequestUsecase(
	appConf *config.Conf,
	logger *zerolog.Logger,
	uuidp uuid.Provider,
	tp timep.Provider,
	kmutexp kmutex.Provider,
	o odomain.Repository,
	oc ocdomain.Repository,
	os osdomain.Repository,
	oa oadomain.Repository,
	oar oardomain.Repository,

) *observationAnalyzerRequestUsecase

NewObservationAnalyzerRequestUsecase Constructor function for the `ObservationAnalyzerRequest` implementation.

Types

type Usecase

type Usecase interface {
	Insert(ctx context.Context, o *oardomain.ObservationAnalyzerRequest) (*oardomain.ObservationAnalyzerRequest, error)
	ListAll(ctx context.Context) ([]*oardomain.ObservationAnalyzerRequest, error)
	DeleteByPrimaryKey(ctx context.Context, entityID uint64, uuid string) error
	RunAnalyzer(ctx context.Context) error
}

Usecase Provides interface for the observation use cases.

Jump to

Keyboard shortcuts

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