sentry

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DSN  string
	Tags map[string]string
}

type Default

type Default struct {
}

func (*Default) Capture

func (s *Default) Capture(ctx context.Context, err error)

type Disabled

type Disabled struct {
}

func (*Disabled) Capture

func (d *Disabled) Capture(ctx context.Context, err error)

type Interface

type Interface interface {
	// Capture is used to send the error to Sentry API.
	Capture(ctx context.Context, err error)
}

func New

func New(config Config) (Interface, error)

Jump to

Keyboard shortcuts

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