debug

package
v0.0.0-...-bac99df Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommand

func RegisterCommand(pattern string, handler http.HandlerFunc)

注册调试指令

func Stack

func Stack() (str string)

func StartPprofServer

func StartPprofServer(ip string, port int) (addr string, err error)

开启pprof http server

func StartPprofServer2

func StartPprofServer2(addr string) (string, error)

开启pprof http server

func StopPprofServer

func StopPprofServer()

关闭pprof http server

Types

This section is empty.

Jump to

Keyboard shortcuts

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