html_report

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 8 Imported by: 2

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