added logging line when using http profile info

I could never remember the url, so I print it out now.
This commit is contained in:
sm
2014-03-08 18:28:08 -08:00
parent 0959be2df2
commit 67ad90d7a4
+1
View File
@@ -46,6 +46,7 @@ func main() {
go func() { go func() {
log.Println(http.ListenAndServe("localhost:8667", nil)) log.Println(http.ListenAndServe("localhost:8667", nil))
}() }()
log.Println("serving profile info at http://localhost:8667/debug/pprof/")
} }
games = MapLock{m: make(map[string]*game)} games = MapLock{m: make(map[string]*game)}