mirror of
https://github.com/omniscale/imposm3.git
synced 2025-02-22 23:24:01 +01:00
14 lines
197 B
Go
14 lines
197 B
Go
package stats
|
|
|
|
import (
|
|
"net/http"
|
|
_ "net/http/pprof"
|
|
|
|
"github.com/omniscale/imposm3/log"
|
|
)
|
|
|
|
func StartHTTPPProf(bind string) {
|
|
go func() {
|
|
log.Println(http.ListenAndServe(bind, nil))
|
|
}()
|
|
}
|