Documentation ¶
Overview ¶
A help package that catch panic error and print the panic stack.
Quick start
import "github.com/mnhkahn/gogogo/panicer" func main() { defer Recover() }
For more information, goto godoc https://godoc.org/github.com/mnhkahn/gogogo/panicer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecoverDebug ¶
func RecoverDebug(v interface{})
RecoverDebug help to recover and print a debug info to stderr.
func RecoverHandler ¶
func RecoverHandler(w http.ResponseWriter, r *http.Request)
RecoverHandler help to recover in the handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.