Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Crash ¶
type Crash struct {
// contains filtered or unexported fields
}
func (*Crash) AddBreadcrumb ¶
func (c *Crash) AddBreadcrumb(breadcrumb crash.Breadcrumb)
AddBreadcrumb records a new breadcrumb.
func (*Crash) Flush ¶
Flush waits until the underlying Transport sends any buffered events to the Sentry server, blocking for at most the given timeout. It returns false if the timeout was reached. In that case, some events may not have been sent. Flush should be called before terminating the program to avoid unintentionally dropping events. Do not call Flush indiscriminately after every call to Capture.
Directories ¶
Path | Synopsis |
---|---|
Package mock_sentry is a generated GoMock package.
|
Package mock_sentry is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.