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

debug

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DebugHeader = "X-Debug"

Variables

This section is empty.

Functions

func NewDebugHandler

func NewDebugHandler(h slog.Handler) *debugHandler

Types

type HTTPHandler

type HTTPHandler struct {
	// Handler to wrap.
	Handler http.Handler
}

func (*HTTPHandler) ServeHTTP

func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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