Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnhanceSentryEvent ¶
func EnhanceSentryEvent(event *sentry.Event, hint *sentry.EventHint) *sentry.Event
EnhanceSentryEvent swaps type with value and removes panic handlers from the stacktrace.
Types ¶
type Identifier ¶
type Identifier interface {
GetUserAgent() string
}
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func NewReporter(appName, appVersion string, identifier Identifier) *Reporter
NewReporter creates new sentry reporter with appName and appVersion to report.
func (*Reporter) ReportException ¶
func (*Reporter) ReportExceptionWithContext ¶
func (*Reporter) ReportMessage ¶
Click to show internal directories.
Click to hide internal directories.