package
module
Version:
v0.0.0-...-fc58038
Opens a new window with list of versions in this module.
Published: Jul 14, 2017
License: BSD-2-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
fpprof
Package pprof serves via fasthttp
This package like net/http/pprof but for fasthttp package
Example:
package main
import (
"fmt"
"time"
"github.com/t0pep0/fpprof"
"github.com/valyala/fasthttp"
)
func Something() {
i := uint64(0)
for 0xFFFFFFFFFFFFFFF0 > i {
i += 1
time.Sleep(time.Duration(i))
}
}
func main() {
fmt.Println("start")
fasthttp.ListenAndServe("localhost:6060", fpprof.Pprof)
go Something()
}
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.