Help us shape the future of Go! Take the 2026 Go Developer Survey

template

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusPageTemplate = template.Must(template.New("statuspage").Parse(string(StatusPageTemplateBytes)))
View Source
var StatusPageTemplateBytes []byte

Functions

This section is empty.

Types

type ActiveProfiler

type ActiveProfiler struct {
	Name           string
	NextStartedAgo time.Duration
	Error          error
}

type Process added in v0.10.0

type Process struct {
	PID             int
	Profiler        string
	Labels          labels.Labels
	ProfilingStatus string
	Error           error
	Link            string
}

type StatusPage

type StatusPage struct {
	ProfilingInterval   time.Duration
	ProfileLinksEnabled bool
	ActiveProfilers     []ActiveProfiler
	Processes           []Process
	Config              string
}

Jump to

Keyboard shortcuts

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