Documentation
¶
Overview ¶
Package interfaces provides common interfaces for the reporting system
Index ¶
Constants ¶
View Source
const ( TextFormat = common.TextFormat MarkdownFormat = common.MarkdownFormat JSONFormat = common.JSONFormat JSONLFormat = common.JSONLFormat CSVFormat = common.CSVFormat ExcelFormat = common.ExcelFormat PDFFormat = common.PDFFormat HTMLFormat = common.HTMLFormat )
Supported report formats
Variables ¶
View Source
var SeverityLevelMapping = map[string]common.SeverityLevel{ "critical": common.Critical, "high": common.High, "medium": common.Medium, "low": common.Low, "info": common.Info, }
SeverityLevelMapping maps string representations to SeverityLevel constants
Functions ¶
This section is empty.
Types ¶
type ReportFormat ¶
type ReportFormat = common.ReportFormat
ReportFormat represents the format of a report
type ReportFormatter ¶
type ReportFormatter = common.ReportFormatter
ReportFormatter is the interface for report formatters
type ReportGenerator ¶
type ReportGenerator = common.ReportGenerator
ReportGenerator is the interface for report generators
Click to show internal directories.
Click to hide internal directories.