debug

package
v2025.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package debug provides an HTTP server with pprof endpoints for runtime profiling and diagnostics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is a HTTP server for debugging.

func NewServer

func NewServer() Server

NewServer creates new HTTP server for debugging.

func (*Server) Start

func (s *Server) Start(addr string) error

Start debug server.

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Stop debug server.

Jump to

Keyboard shortcuts

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