This commit is contained in:
deepzz0
2016-10-02 00:11:15 +08:00
parent ddf508825c
commit ead9533be3
34 changed files with 359 additions and 181 deletions

14
main.go
View File

@@ -2,18 +2,14 @@
package main
import (
"net/http"
_ "net/http/pprof"
"github.com/EiBlog/utils/logd"
// "net/http"
// _ "net/http/pprof"
)
func main() {
// set log print level
logd.SetLevel(logd.Ldebug)
// pprof
go func() {
http.ListenAndServe(":6060", nil)
}()
// go func() {
// http.ListenAndServe(":6060", nil)
// }()
Run()
}