Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpOnSignal ¶
DumpOnSignal runs the DumpRoutes method and prints to stderr whenever one of the provided signals is received.
func DumpRoutines ¶
DumpRoutines writes current goroutine stack traces to a temp file. and returns that files path. if for some reason a file could not be opened it falls back to stderr
func WriteNopCloser ¶
func WriteNopCloser(w io.Writer) io.WriteCloser
WriteNopCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.