html_report

package
v0.0.0-...-4883b76 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 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 HTMLReportGenerator

type HTMLReportGenerator interface {
	GetHTMLReport() *model.HTMLReport
	GenerateReport(testMode, useCDN, embeddedMode bool) []byte
}

func NewHTMLReport

func NewHTMLReport(
	disableTimestamp bool,
	generated time.Time,
	history []*model.Commit) HTMLReportGenerator

type ReportData

type ReportData struct {
	BundledJS        string            `json:"bundledJS"`
	BundledCSS       string            `json:"bundledCSS"`
	UseCDN           bool              `json:"useCDN"`
	JsCDN            string            `json:"jsCDN"`
	CssCDN           string            `json:"cssCDN"`
	TestMode         bool              `json:"test"`
	Report           string            `json:"data"`
	ReportData       *model.HTMLReport `json:"-"`
	Generated        time.Time         `json:"generated"`
	DisableTimestamp bool              `json:"-"`
	EmbeddedMode     bool              `json:"-"`
}

Jump to

Keyboard shortcuts

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