pprof

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

#echo-pprof

Install

go get e.coding.net/ricnsmart/go/echo-pprof

Usage

package main

import (
	"github.com/labstack/echo/v4"
	"e.coding.net/ricnsmart/go/echo-pprof"
)

func main() {
	e:=echo.New()
	pprof.Register(e)
	// visit http://localhost:1312/debug/pprof/
	e.Logger.Fatal(e.Start(":1312"))
}

Author

voson wang

i@voson.me

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(e *echo.Echo)

Types

This section is empty.

Jump to

Keyboard shortcuts

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