Categorygithub.com/getsentry/raven-go
modulepackage
0.2.0
Repository: https://github.com/getsentry/raven-go.git
Documentation: pkg.go.dev

# README

raven

Build Status Go Report Card GoDoc

raven is the official Go SDK for the Sentry event/error logging system.

Installation

go get github.com/getsentry/raven-go

Note: Go 1.7 and newer are supported.

# Packages

No description provided by the author

# Functions

Capture asynchronously delivers a packet to the Sentry server with the default *Client.
CaptureErrors formats and delivers an error to the Sentry server using the default *Client.
CaptureErrorAndWait is identical to CaptureError, except it blocks and assures that the event was sent.
CaptureMessage formats and delivers a string message to the Sentry server with the default *Client.
CaptureMessageAndWait is identical to CaptureMessage except it blocks and waits for the message to be sent.
CapturePanic calls f and then recovers and reports a panic to the Sentry server if it occurs.
CapturePanicAndWait is identical to CaptureError, except it blocks and assures that the event was sent.
No description provided by the author
No description provided by the author
Try to get stacktrace from err as an interface of github.com/pkg/errors, or else NewStacktrace().
No description provided by the author
New constructs a new Sentry client instance.
NewClient constructs a Sentry client and spawns a background goroutine to handle packets sent by Client.Report.
No description provided by the author
No description provided by the author
NewPacket constructs a packet with the specified message and interfaces.
NewPacketWithExtra constructs a packet with the specified message, extra information, and interfaces.
Intialize and populate a new stacktrace, skipping skip frames.
Build a single frame using data returned from runtime.Caller.
NewWithTags constructs a new Sentry client instance with default tags.
No description provided by the author
Recovery handler to wrap the stdlib net/http Mux.
Recovery handler to wrap the stdlib net/http Mux.
No description provided by the author
SetDefaultLoggerName sets the "defaultLoggerName" on the default *Client.
Sets the DSN for the default *Client instance.
SetEnvironment sets the "environment" tag on the default *Client.
No description provided by the author
No description provided by the author
No description provided by the author
SetRelease sets the "release" tag on the default *Client.
SetSampleRate sets the "sample rate" on the degault *Client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Wait blocks and waits for all events to finish being sent to Sentry server.
Adds extra data to an error before reporting to Sentry.

# Constants

http://docs.python.org/2/howto/logging.html#logging-levels.
http://docs.python.org/2/howto/logging.html#logging-levels.
http://docs.python.org/2/howto/logging.html#logging-levels.
http://docs.python.org/2/howto/logging.html#logging-levels.
http://docs.python.org/2/howto/logging.html#logging-levels.

# Variables

Initialize a default *Client instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The maximum number of packets that will be buffered waiting to be delivered.

# Structs

Client encapsulates a connection to a Sentry server.
https://docs.getsentry.com/hosted/clientdev/interfaces/#failure-interfaces.
Exceptions allows for chained errors https://docs.sentry.io/clientdev/interfaces/exception/.
https://docs.getsentry.com/hosted/clientdev/interfaces/#context-interfaces.
HTTPTransport is the default transport, delivering packets to Sentry via the HTTP API.
https://docs.getsentry.com/hosted/clientdev/interfaces/#message-interface.
https://docs.getsentry.com/hosted/clientdev/#building-the-json-packet.
https://docs.getsentry.com/hosted/clientdev/interfaces/#context-interfaces.
https://docs.getsentry.com/hosted/clientdev/interfaces/#failure-interfaces.
No description provided by the author
No description provided by the author
https://docs.getsentry.com/hosted/clientdev/interfaces/#template-interface.
https://docs.getsentry.com/hosted/clientdev/interfaces/#context-interfaces.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
An Interface is a Sentry interface that will be serialized as JSON.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author