service

package
v0.0.0-...-1ddd89f Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFramesFromError

func CreateFramesFromError(err interface{}) []*honeybadger.Frame

CreateFramesFromError builds stack frames from the error object

func NotifyGinError

func NotifyGinError(err interface{}, body []byte, c *gin.Context)

NotifyGinError does alomst the same as NotifyGinErrorWithFrames, except stack frames are automatically generated from the err itself

func NotifyGinErrorWithFrames

func NotifyGinErrorWithFrames(err interface{}, body []byte, c *gin.Context, frames []*honeybadger.Frame)

NotifyGinErrorWithFrames notifies the err and its arbitrary stack frames, along with a context of the certain http request

func NotifyPanic

func NotifyPanic(output string)

NotifyPanic notifies a panic event with useful contextual informations. It analyzes a buffer string from the output of panic, and creates error and context objects that are eligible for honeybadger

Types

This section is empty.

Jump to

Keyboard shortcuts

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