interfaces

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

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