1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-21 20:33:08 +00:00

📄 Add function comment

This commit is contained in:
Fenny 2020-07-23 06:07:50 +02:00
parent 0e7b9dacb1
commit 6fa6944631

View File

@ -23,6 +23,7 @@ var (
pprofThreadcreate = fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Handler("threadcreate").ServeHTTP)
)
// Pprof will enabling profiling
func Pprof() fiber.Handler {
// Return handler
return func(c *fiber.Ctx) {