professor

package module
v0.0.0-...-6b97112 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: MIT Imports: 3 Imported by: 9

README

professor

Safer interface to Golang net/http/pprof

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(mux *http.ServeMux)

Handle adds standard pprof handlers to mux.

func Launch

func Launch(addr string)

Launch a standard pprof server at addr.

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 populates it with standard pprof handlers.

func NewServer

func NewServer(addr string) *http.Server

NewServer constructs a server at addr with the standard pprof handlers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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