Documentation
¶
Index ¶
Constants ¶
View Source
const DEBUG = false
DEBUG returns whether debugging is enabled.
Variables ¶
This section is empty.
Functions ¶
func BuildInfo ¶ added in v1.2.0
BuildInfo will return a useful new-line separated build info string for current binary, setting name as given value.
func ServePprof ¶ added in v1.1.0
ServePprof will start an HTTP server serving /debug/pprof only if debug enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.