professor

package module
v0.0.0-...-cc6399d Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 3 Imported by: 1

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