panicer

package
Version: v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

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 Recover

func Recover()

Recover recover panic and print time info to stderr.

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.

Source Files

Jump to

Keyboard shortcuts

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