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.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_sentryapi is a generated GoMock package.
|
Package mock_sentryapi is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.