sentryapi

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

type Hub interface {
	Clone() Hub
	LastEventID() sentry.EventID
	Scope() *sentry.Scope
	PushScope() *sentry.Scope
	PopScope()
	WithScope(f func(*sentry.Scope))
	ConfigureScope(f func(*sentry.Scope))
	CaptureEvent(event *sentry.Event) *sentry.EventID
	CaptureMessage(message string) *sentry.EventID
	CaptureException(exception error) *sentry.EventID
	AddBreadcrumb(breadcrumb *sentry.Breadcrumb, hint *sentry.BreadcrumbHint)
	Recover(err interface{}) *sentry.EventID
	RecoverWithContext(ctx context.Context, err interface{}) *sentry.EventID
	Flush(timeout time.Duration) bool
}

Hub is an interface of the sentry.Hub.

func NewHub

func NewHub(client *sentry.Client, scope *sentry.Scope) Hub

Directories

Path Synopsis
Package mock_sentryapi is a generated GoMock package.
Package mock_sentryapi is a generated GoMock package.

Jump to

Keyboard shortcuts

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