report

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyDashboard = errors.New("empty dashboard model")

Functions

This section is empty.

Types

type HTML

type HTML struct {
	Header string
	Body   string
	Footer string
}

type Report

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

func New

func New(logger log.Logger, conf config.Config, httpClient *http.Client, chromeInstance chrome.Instance,
	pools worker.Pools, dashboard *dashboard.Dashboard,
) *Report

func (*Report) Generate

func (r *Report) Generate(ctx context.Context, writer http.ResponseWriter) error

Jump to

Keyboard shortcuts

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