analysis

package
v0.0.0-...-46e61fc Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) GetAnalysis

func (c *Controller) GetAnalysis(analysisID uuid.UUID) (*analysis.Analysis, error)

func (*Controller) SaveAnalysis

func (c *Controller) SaveAnalysis(analysisEntity *analysis.Analysis) (uuid.UUID, error)

type IController

type IController interface {
	GetAnalysis(analysisID uuid.UUID) (*analysis.Analysis, error)
	SaveAnalysis(analysisEntity *analysis.Analysis) (uuid.UUID, error)
}

func NewAnalysisController

func NewAnalysisController(broker brokerService.IBroker, appConfig appConfiguration.IConfig,
	repositoriesRepository repository.IRepository, repositoriesAnalysis repoAnalysis.IAnalysis) IController

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) GetAnalysis

func (m *Mock) GetAnalysis(_ uuid.UUID) (*analysis.Analysis, error)

func (*Mock) SaveAnalysis

func (m *Mock) SaveAnalysis(_ *analysis.Analysis) (uuid.UUID, error)

Jump to

Keyboard shortcuts

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