sentry

package
v0.0.0-...-f12eaf6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPHandler

func NewHTTPHandler(handler http.Handler, tags map[string]string) http.Handler

Types

type SentryClient

type SentryClient interface {
	Recover(func() error) (err interface{}, errID string)
	RecoverAndExit(func() error)
	GetSentry() *raven.Client
}

func NewClient

func NewClient(tags map[string]string) (SentryClient, error)

Jump to

Keyboard shortcuts

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