http

package
v0.387.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 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 added in v0.278.0

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