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.

      Source Files