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

http

package
v0.510.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ShutdownGracePeriod = 5 * time.Second

Variables

This section is empty.

Functions

func RegisterPprof

func RegisterPprof(mux *http.ServeMux)

RegisterPprof registers all pprof handlers and the index on the provided ServeMux.

func Serve

func Serve(ctx context.Context, listen *url.URL, handler http.Handler) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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