Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommit ¶
func BuildCommit() string
BuildCommit reports the stamped vcs.revision according to debug.ReadBuildInfo, including a suffix indicating whether the working tree had uncommitted changes.
Note that this will report "unknown" if using "go run". Use "go build" to compile to a binary to see the proper commit reported.
func StartDebugServer ¶
StartDebugServer starts a debug server in a background goroutine, accepting connections on the given listener. Any HTTP logging will be written at info level to the given logger. The server will be forcefully shut down when ctx finishes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.