report

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 8 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonWriter

type JsonWriter struct {
	Output io.Writer
}

func (JsonWriter) Write

func (jw JsonWriter) Write(results Results) error

type Result

type Result struct {
	FileName        string                                `json:"Target"`
	Vulnerabilities []vulnerability.DetectedVulnerability `json:"Vulnerabilities"`
}

type Results

type Results []Result

type TableWriter

type TableWriter struct {
	Output io.Writer
}

func (TableWriter) Write

func (tw TableWriter) Write(results Results) error

type Writer

type Writer interface {
	Write(Results) error
}

Jump to

Keyboard shortcuts

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