pprof

package
v0.0.0-...-3e08555 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListenAddress = "localhost:6060"

Functions

func Handle

func Handle(mux *http.ServeMux)

Handle adds the standard pprof handlers to the http.ServeMux

func ListenAndServe

func ListenAndServe(addr string) error

ListenAndServe starts a server at addr with standard pprof handlers.

func NewServeMux

func NewServeMux() *http.ServeMux

NewServeMux builds a ServeMux and sets up the standard pprof handlers

func NewServer

func NewServer(addr string) *http.Server

NewServer constructs a new http.Server at addr with the standard pprof Mux

func Run

func Run()

Run a standard pprof server at ListenAddress

Types

This section is empty.

Jump to

Keyboard shortcuts

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