Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 306 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 306 Bytes

XDebug

一些调试工具。

Dump 美化输出

Gc 垃圾收集 http endpoint handler

type gc struct{}

func (gc) ServeHTTP(http.ResponseWriter, *http.Request) { ... }

PProf 性能调优

// 注册pprof handler 到 *http.ServeMux上面
func PProfHandlers(h *http.ServeMux)