pprof

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package pprof usage: app.Get(iris.RouteWildcardPath("/debug/pprof", "action"), pprof.New()) for specific router adaptors follow these optional route syntax: 'adaptors/httprouter':

app := iris.New() app.Adapt(httprouter.New()) app.Get("/debug/pprof/*action", pprof.New())

'adaptors/gorillamux':

app := iris.New() app.Adapt(gorillamux.New()) app.Get("/debug/pprof/{action:.*}", pprof.New())

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() iris.HandlerFunc

New returns a new pprof (profile, cmdline, symbol, goroutine, heap, threadcreate, debug/block) Middleware. Note: Route MUST have the last named parameter wildcard named '*action'

Types

This section is empty.

Jump to

Keyboard shortcuts

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