{"repo":"DeanThompson/ginpprof","free":true,"listed":false,"github":"https://github.com/DeanThompson/ginpprof","clone":"git clone https://github.com/DeanThompson/ginpprof.git","description":"A wrapper for golang web framework gin to use net/http/pprof easily.","language":"Go","stars":315,"topics":["go","golang","gin","pprof"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ginpprof ======== A wrapper for gin to mount net/http/pprof routes quickly. Why this project ginpprof was created before gin-contrib/pprof , and many existing services still rely on it. This repository is maintained to keep those users on a stable and lightweight API. Install Usage Registered routes - GET /debug/pprof/ - GET /debug/pprof/heap - GET /debug/pprof/goroutine - GET /debug/pprof/allocs - GET /debug/pprof/block - GET /debug/pprof/threadcreate - GET /debug/pprof/cmdline - GET /debug/pprof/profile - GET /debug/pprof/symbol - POST /debug/pprof/symbol - GET /debug/pprof/trace - GET /debug/pprof/mutex Security notes pprof endpoints expose runtime internals. For production: - protect routes with auth middleware, - restrict by network/IP, - or expose only in internal environments. Development","default_branch":null,"files":null,"tree":[],"storefront":"/r/DeanThompson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DeanThompson/ginpprof/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}