ezpprof

package
v0.0.0-...-f18a85d Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeProfile

func ServeProfile(port int)

ServeProfile serves profiling information on the port you pass. It will launch a server in another go routine that will serve profiling information through the route /debug/pprof. An example of how you can use it: `wget http://localhost:8081/debug/pprof/trace?seconds=10` See https://golang.org/pkg/net/http/pprof/ for more information on how to use it.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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