Documentation ¶
Index ¶
- type IUseCases
- type UseCases
- func (u *UseCases) FilterFromRequest(request *http.Request) (*dashboard.Filter, error)
- func (u *UseCases) ParseAnalysisToVulnerabilitiesByAuthor(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByAuthor
- func (u *UseCases) ParseAnalysisToVulnerabilitiesByLanguage(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByLanguage
- func (u *UseCases) ParseAnalysisToVulnerabilitiesByRepository(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByRepository
- func (u *UseCases) ParseAnalysisToVulnerabilitiesByTime(entity *analysis.Analysis) *dashboard.VulnerabilitiesByTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUseCases ¶
type IUseCases interface { FilterFromRequest(request *http.Request) (*dashboard.Filter, error) ParseAnalysisToVulnerabilitiesByAuthor(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByAuthor ParseAnalysisToVulnerabilitiesByRepository(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByRepository ParseAnalysisToVulnerabilitiesByLanguage(entity *analysis.Analysis) []*dashboard.VulnerabilitiesByLanguage ParseAnalysisToVulnerabilitiesByTime(entity *analysis.Analysis) *dashboard.VulnerabilitiesByTime }
func NewUseCaseDashboard ¶
func NewUseCaseDashboard() IUseCases
type UseCases ¶
type UseCases struct{}
func (*UseCases) FilterFromRequest ¶
func (*UseCases) ParseAnalysisToVulnerabilitiesByAuthor ¶
func (u *UseCases) ParseAnalysisToVulnerabilitiesByAuthor( entity *analysis.Analysis) []*dashboard.VulnerabilitiesByAuthor
func (*UseCases) ParseAnalysisToVulnerabilitiesByLanguage ¶
func (u *UseCases) ParseAnalysisToVulnerabilitiesByLanguage( entity *analysis.Analysis) []*dashboard.VulnerabilitiesByLanguage
func (*UseCases) ParseAnalysisToVulnerabilitiesByRepository ¶
func (u *UseCases) ParseAnalysisToVulnerabilitiesByRepository( entity *analysis.Analysis) []*dashboard.VulnerabilitiesByRepository
func (*UseCases) ParseAnalysisToVulnerabilitiesByTime ¶
func (u *UseCases) ParseAnalysisToVulnerabilitiesByTime( entity *analysis.Analysis) *dashboard.VulnerabilitiesByTime
Click to show internal directories.
Click to hide internal directories.