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:
Stephen McQuay 2014-03-08 18:28:08 -08:00
parent 0959be2df2
commit 67ad90d7a4
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ func main() {
go func() {
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)}