()
| 135 | } |
| 136 | |
| 137 | func debug() { |
| 138 | // Open pprof |
| 139 | if config.Get().PprofDebug.Enable { |
| 140 | utils.GoWithRecover(func() { |
| 141 | addr := strconv.Itoa(int(config.Get().PprofDebug.Port)) |
| 142 | _ = http.ListenAndServe(":"+addr, nil) |
| 143 | }, nil) |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | func showBanner() { |
| 148 | logo := `╦═╗┌─┐┌┬┐┬┌─┐ ╔═╗┬─┐┌─┐─┐ ┬┬ ┬ |
no test coverage detected