gpprof

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(w http.ResponseWriter, r *http.Request)

Check PProf心跳检测

func New

func New() *http.ServeMux

New 创建一个http ServeMux实例

func Run

func Run(httpMux *http.ServeMux, port int)

Run 运行PProf性能监控服务 性能监控的端口port只能在内网访问 一般在程序启动init或main函数中执行 httpMux 表示*http.ServeMux port表示pprof运行的端口

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL