Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSentryHook ¶
NewSentryHook initializes a new sentryHook with specified log levels.
Types ¶
type SentryRunOptions ¶
type SentryRunOptions struct { RoutineName string OnErrorFn func() }
SentryRunOptions is the options for running a function with Sentry local hub initialization.
func (SentryRunOptions) Run ¶
func (o SentryRunOptions) Run(fn func(*sentry.Hub))
Run wraps a function with Sentry local hub initialization and runs it in a goroutine.
Click to show internal directories.
Click to hide internal directories.