package
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jan 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
func Register(e *echo.Echo)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.