LoginSignup
1
1

More than 5 years have passed since last update.

gojiでnet/http/pprof(mux分けてる)

Last updated at Posted at 2016-06-01
pprofMux := web.New()
pprofMux.Get("/debug/pprof/", http.HandlerFunc(pprof.Index))

rootMux := goji.DefaultMux
rootMux.Handle("/debug/pprof/*", pprofMux)

これで下記及びそのリンク先にアクセスできます
http://localhost:8000/debug/pprof/

読み方わからない・・・・
-> Go で利用できるプロファイリングツール pprof の読み方

参考

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1