reporter

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format string

Format represents the output format

const (
	FormatJSON  Format = "json"
	FormatTable Format = "table"
)

type Reporter

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

Reporter handles output formatting and reporting

func New

func New(format Format, output io.Writer) *Reporter

New creates a new Reporter

func (*Reporter) Report

func (r *Reporter) Report(result *models.ScanResult) error

Report outputs the scan results in the configured format

Jump to

Keyboard shortcuts

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