MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / debug

Function debug

IceFireDB-Redis-Proxy/cmd/proxy/main.go:137–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func 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
147func showBanner() {
148 logo := `╦═╗┌─┐┌┬┐┬┌─┐ ╔═╗┬─┐┌─┐─┐ ┬┬ ┬

Callers 1

initConfigFunction · 0.70

Calls 2

GetFunction · 0.92
GoWithRecoverFunction · 0.92

Tested by

no test coverage detected