sentry

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SentryAlerter

type SentryAlerter struct {
	// contains filtered or unexported fields
}

func NewSentryAlerter

func NewSentryAlerter(opts *SentryAlerterOpts) (*SentryAlerter, error)

func (*SentryAlerter) SendAlert

func (s *SentryAlerter) SendAlert(ctx context.Context, err error, data map[string]interface{})

type SentryAlerterOpts

type SentryAlerterOpts struct {
	DSN         string
	Environment string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL