Documentation ¶
Index ¶
- type Interface
- type UseCases
- func (au *UseCases) DecodeAnalysisDataFromIoRead(body io.ReadCloser) (analysisData *apiEntities.AnalysisData, err error)
- func (au *UseCases) DecodeAnalysisFromBytes(body []byte) (analysis *horusecEntities.Analysis, err error)
- func (au *UseCases) NewAnalysisRunning() *horusecEntities.Analysis
- func (au *UseCases) ParseInterfaceToAnalysis(data interface{}) (*horusecEntities.Analysis, error)
- func (au *UseCases) ParseInterfaceToListAnalysis(data interface{}) (analysis []*horusecEntities.Analysis, err error)
- func (au *UseCases) ParsePacketToAnalysis(packet brokerPacket.IPacket) (analysis *horusecEntities.Analysis, err error)
- func (au *UseCases) SetFindOneFilter(analysisID string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { NewAnalysisRunning() *horusecEntities.Analysis DecodeAnalysisDataFromIoRead(body io.ReadCloser) (analysisData *apiEntities.AnalysisData, err error) DecodeAnalysisFromBytes(body []byte) (analysis *horusecEntities.Analysis, err error) ParseInterfaceToListAnalysis(data interface{}) (analysis []*horusecEntities.Analysis, err error) ParseInterfaceToAnalysis(data interface{}) (analysis *horusecEntities.Analysis, err error) ParsePacketToAnalysis(packet brokerPacket.IPacket) (analysis *horusecEntities.Analysis, err error) SetFindOneFilter(analysisID string) map[string]interface{} }
func NewAnalysisUseCases ¶
func NewAnalysisUseCases() Interface
type UseCases ¶
type UseCases struct { }
func (*UseCases) DecodeAnalysisDataFromIoRead ¶
func (au *UseCases) DecodeAnalysisDataFromIoRead(body io.ReadCloser) ( analysisData *apiEntities.AnalysisData, err error)
func (*UseCases) DecodeAnalysisFromBytes ¶ added in v1.3.0
func (au *UseCases) DecodeAnalysisFromBytes(body []byte) (analysis *horusecEntities.Analysis, err error)
func (*UseCases) NewAnalysisRunning ¶
func (au *UseCases) NewAnalysisRunning() *horusecEntities.Analysis
func (*UseCases) ParseInterfaceToAnalysis ¶
func (au *UseCases) ParseInterfaceToAnalysis(data interface{}) (*horusecEntities.Analysis, error)
func (*UseCases) ParseInterfaceToListAnalysis ¶
func (au *UseCases) ParseInterfaceToListAnalysis(data interface{}) (analysis []*horusecEntities.Analysis, err error)
func (*UseCases) ParsePacketToAnalysis ¶
func (au *UseCases) ParsePacketToAnalysis( packet brokerPacket.IPacket) (analysis *horusecEntities.Analysis, err error)
func (*UseCases) SetFindOneFilter ¶
Click to show internal directories.
Click to hide internal directories.