prof

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(r *teapot.Router, h RouteHandlers)

Types

type Handler

type Handler struct {
}

Handler implements the /health, /health/ready, and /health/live endpoints.

func New

func New() Handler

func (Handler) Cmdline

func (h Handler) Cmdline() http.Handler

func (Handler) Index

func (h Handler) Index() http.Handler

func (Handler) Profile

func (h Handler) Profile() http.Handler

func (Handler) ProfileDownload

func (h Handler) ProfileDownload(profileType string) http.Handler

func (Handler) Symbol

func (h Handler) Symbol() http.Handler

func (Handler) Trace

func (h Handler) Trace() http.Handler

type RouteHandlers

type RouteHandlers interface {
	Index() http.Handler
	Cmdline() http.Handler
	Profile() http.Handler
	Symbol() http.Handler
	Trace() http.Handler
	ProfileDownload(profileType string) http.Handler
}

Jump to

Keyboard shortcuts

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