// Generated by Lisette bindgen
// Source: net/http/pprof (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.14

import "go:net/http"

/// Cmdline responds with the running program's
/// command line, with arguments separated by NUL bytes.
/// The package initialization registers it as /debug/pprof/cmdline.
pub fn Cmdline(w: http.ResponseWriter, r: Ref<http.Request>)

/// Handler returns an HTTP handler that serves the named profile.
/// Available profiles can be found in [runtime/pprof.Profile].
pub fn Handler(name: string) -> http.Handler

/// Index responds with the pprof-formatted profile named by the request.
/// For example, "/debug/pprof/heap" serves the "heap" profile.
/// Index responds to a request for "/debug/pprof/" with an HTML page
/// listing the available profiles.
pub fn Index(w: http.ResponseWriter, r: Ref<http.Request>)

/// Profile responds with the pprof-formatted cpu profile.
/// Profiling lasts for duration specified in seconds GET parameter, or for 30 seconds if not specified.
/// The package initialization registers it as /debug/pprof/profile.
pub fn Profile(w: http.ResponseWriter, r: Ref<http.Request>)

/// Symbol looks up the program counters listed in the request,
/// responding with a table mapping program counters to function names.
/// The package initialization registers it as /debug/pprof/symbol.
pub fn Symbol(w: http.ResponseWriter, r: Ref<http.Request>)

/// Trace responds with the execution trace in binary form.
/// Tracing lasts for duration specified in seconds GET parameter, or for 1 second if not specified.
/// The package initialization registers it as /debug/pprof/trace.
pub fn Trace(w: http.ResponseWriter, r: Ref<http.Request>)
