debug

package
v0.0.0-...-fd2add7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package debug implements debugging utilities

Package debug implements debugging utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallCtrlCPanic

func InstallCtrlCPanic()

InstallCtrlCPanic installs a Ctrl-C signal handler that panics

func InstallKillPanic

func InstallKillPanic()

InstallKillPanic installs a kill signal handler that panics From the command-line, this signal is agitated with kill -ABRT

func InstallTimeoutPanic

func InstallTimeoutPanic(ns int64)

InstallTimeout panics the current process in ns time

func OnSignal

func OnSignal(dfr func(os.Signal))

func SavePanicTrace

func SavePanicTrace()

Types

This section is empty.

Directories

Path Synopsis
Package ctrlc has the side effect of installing a Ctrl-C signal handler that throws a panic
Package ctrlc has the side effect of installing a Ctrl-C signal handler that throws a panic
Package http contains implementation for various HTTP reporting endpoint
Package http contains implementation for various HTTP reporting endpoint
trace
Package trace has the side effect of installing HTTP endpoints that report tracing information
Package trace has the side effect of installing HTTP endpoints that report tracing information
Package kill has the side effect of installing a KILL signal handler that throws a panic
Package kill has the side effect of installing a KILL signal handler that throws a panic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL