pprof

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

#echo-pprof

Install

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

Usage

package main

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

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

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