Documentation ¶
Overview ¶
Package sentry wraps the sentry client in a simple API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoClientOrScopeAvailable = errors.New("no client or hub available") ErrDidNotFullyFlush = errors.New("not fully flushed") )
Errors returned by the Client's methods.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client is a Sentry API Client.
func (*Client) MonitorOperation ¶
func (*Client) MonitorOperation( ctx context.Context, operation string, traceID [16]byte, doFunc func(context.Context), )
MonitorOperation returns a new context to be used with the operation and a done function to signal that the operation ended.
func (*Client) ReportError ¶
ReportError reports an error to Sentry.
Click to show internal directories.
Click to hide internal directories.