common

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAnalyzisFolder

func CreateAnalyzisFolder(folder, reportID string) error

func LoadReport

func LoadReport(folder, reportID string) (*models.Report, error)

func ReportFilenameFromReportID

func ReportFilenameFromReportID(folder, reportID string) string

func SaveAnalysis

func SaveAnalysis(folder string, reportCode string, analysis *models.Analysis) error

func SaveLogs

func SaveLogs(folder string, logs *models.Logs) error

func SetupJSONEncoder added in v1.4.1

func SetupJSONEncoder(enc *json.Encoder)

Types

This section is empty.

Jump to

Keyboard shortcuts

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