Documentation ¶
Index ¶
- type NoopRavenClient
- func (client *NoopRavenClient) Capture(packet *raven.Packet, captureTags map[string]string) (eventID string, ch chan error)
- func (client *NoopRavenClient) CaptureError(err error, tags map[string]string, interfaces ...raven.Interface) string
- func (client *NoopRavenClient) CaptureErrorAndWait(err error, tags map[string]string, interfaces ...raven.Interface) string
- func (client *NoopRavenClient) CaptureMessage(message string, tags map[string]string, interfaces ...raven.Interface) string
- func (client *NoopRavenClient) CapturePanic(f func(), tags map[string]string, interfaces ...raven.Interface) (err interface{}, errorID string)
- func (client *NoopRavenClient) Close()
- func (client *NoopRavenClient) ProjectID() string
- func (client *NoopRavenClient) Release() string
- func (client *NoopRavenClient) SetDSN(dsn string) error
- func (client *NoopRavenClient) SetRelease(release string)
- func (client *NoopRavenClient) URL() string
- func (client *NoopRavenClient) Wait()
- type RavenClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopRavenClient ¶
type NoopRavenClient struct { }
func (*NoopRavenClient) Capture ¶
func (client *NoopRavenClient) Capture(packet *raven.Packet, captureTags map[string]string) (eventID string, ch chan error)
func (*NoopRavenClient) CaptureError ¶
func (client *NoopRavenClient) CaptureError(err error, tags map[string]string, interfaces ...raven.Interface) string
func (*NoopRavenClient) CaptureErrorAndWait ¶
func (client *NoopRavenClient) CaptureErrorAndWait(err error, tags map[string]string, interfaces ...raven.Interface) string
func (*NoopRavenClient) CaptureMessage ¶
func (client *NoopRavenClient) CaptureMessage(message string, tags map[string]string, interfaces ...raven.Interface) string
func (*NoopRavenClient) CapturePanic ¶
func (client *NoopRavenClient) CapturePanic(f func(), tags map[string]string, interfaces ...raven.Interface) (err interface{}, errorID string)
func (*NoopRavenClient) Close ¶
func (client *NoopRavenClient) Close()
func (*NoopRavenClient) ProjectID ¶
func (client *NoopRavenClient) ProjectID() string
func (*NoopRavenClient) Release ¶
func (client *NoopRavenClient) Release() string
func (*NoopRavenClient) SetDSN ¶
func (client *NoopRavenClient) SetDSN(dsn string) error
func (*NoopRavenClient) SetRelease ¶
func (client *NoopRavenClient) SetRelease(release string)
func (*NoopRavenClient) URL ¶
func (client *NoopRavenClient) URL() string
func (*NoopRavenClient) Wait ¶
func (client *NoopRavenClient) Wait()
type RavenClient ¶
type RavenClient interface { Capture(packet *raven.Packet, captureTags map[string]string) (eventID string, ch chan error) CaptureError(err error, tags map[string]string, interfaces ...raven.Interface) string CaptureErrorAndWait(err error, tags map[string]string, interfaces ...raven.Interface) string CaptureMessage(message string, tags map[string]string, interfaces ...raven.Interface) string CapturePanic(f func(), tags map[string]string, interfaces ...raven.Interface) (err interface{}, errorID string) Close() ProjectID() string Release() string SetDSN(dsn string) error SetRelease(release string) URL() string Wait() }
Click to show internal directories.
Click to hide internal directories.