html

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	TypeMain    = "main"
	TypeMermaid = "mermaid"
)

Variables

This section is empty.

Functions

func CreateHtml

func CreateHtml(htmlType, filename string, bo *BuildOption) error

Types

type BuildOption

type BuildOption struct {
	SuggestData *suggestData
	DigData     *digData
}

func NewDigJaegerBuildOption added in v0.0.2

func NewDigJaegerBuildOption(
	uIPath string,
	slowThresholdMilli int,
	sameServiceThreshold int,
	slowTraces []*viewmodel.VmOtelCompactTrace,
	sameServiceTraces []*viewmodel.VmOtelCompactTrace,
) *BuildOption

func NewPerformanceInsightsDataBuildOption added in v0.0.2

func NewPerformanceInsightsDataBuildOption(sqlCpuUsages []*viewmodel.VmTimeDbLoad, tokenizedSqlCpuUsages []*viewmodel.VmTimeDbLoad) *BuildOption

func NewSuggestHasuraDataBuildOption

func NewSuggestHasuraDataBuildOption(
	gql string,
	gqlVariables map[string]interface{},
	query string,
	analyzeNodes []*viewmodel.VmPostgresExplainAnalyzeNode,
	summaryText string,
	indexTargets []*viewmodel.VmIndexTarget,
	commandOptions []*viewmodel.VmExaminationCommandOption,
	examinationResults *viewmodel.VmExaminationResult,
) *BuildOption

func NewSuggestMySQLDataBuildOption

func NewSuggestMySQLDataBuildOption(
	query string,
	analyzeNodes []*viewmodel.VmMysqlExplainAnalyzeNode,
	indexTargets []*viewmodel.VmIndexTarget,
	commandOptions []*viewmodel.VmExaminationCommandOption,
	examinationResults *viewmodel.VmExaminationResult,
) *BuildOption

func NewSuggestPostgresDataBuildOption

func NewSuggestPostgresDataBuildOption(
	query string,
	analyzeNodes []*viewmodel.VmPostgresExplainAnalyzeNode,
	sumaryText string,
	indexTargets []*viewmodel.VmIndexTarget,
	commandOptions []*viewmodel.VmExaminationCommandOption,
	examinationResults *viewmodel.VmExaminationResult,
) *BuildOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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