bugsnag-go: github.com/bugsnag/bugsnag-go/gin Index | Files

package bugsnaggin

import "github.com/bugsnag/bugsnag-go/gin"

Index

Package Files

bugsnaggin.go

Constants

const FrameworkName string = "Gin"

func AutoNotify Uses

func AutoNotify(rawData ...interface{}) gin.HandlerFunc

AutoNotify sends any panics to bugsnag, and then re-raises them. You should use this after another middleware that returns an error page to the client, for example gin.Recovery(). The arguments can be any RawData to pass to Bugsnag, most usually you'll pass a bugsnag.Configuration object.

Package bugsnaggin imports 3 packages (graph) and is imported by 2 packages. Updated 2019-07-12. Refresh now. Tools for package owners.