pprof

package module
v0.1.0 Latest Latest
Warning

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

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

README

CleverGo pprof

Build Status Coverage Status Go.Dev reference Go Report Card Release Downloads

$ go get -u clevergo.tech/pprof
import (
    "clevergo.tech/clevergo"
    "clevergo.tech/pprof"
)

func main() {
    app := clevergo.New()
    pprof.RegisterHandlers(app)
    app.Run(":8080")
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(c *clevergo.Context) error

Handler wraps all pprof handlers.

func RegisterHandler

func RegisterHandler(router clevergo.Router)

RegisterHandler register pprof handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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