pprof

package module
v1.2.84 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

README

PPROF

Fns pprof handler.

Install

go get github.com/aacfactory/fns-contrib/transports/handlers/pprof

Use

fns.New(fns.Handler(pprof.New()))

Config

transport:
  handlers:
    pprof:
      enable: true

URL

/debug/pprof/
/debug/pprof/cmdline
/debug/pprof/profile
/debug/pprof/symbol
/debug/pprof/trace

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() transports.MuxHandler

Types

type Config

type Config struct {
	Enable bool `json:"enable"`
}

Jump to

Keyboard shortcuts

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