mrsentry

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter - comment struct.

func New

func New(opts Options) (*Adapter, error)

New - создаёт объект Adapter.

func (*Adapter) CaptureAppError

func (a *Adapter) CaptureAppError(err *mrerr.AppError) (instanceID string)

CaptureAppError - comment method.

func (*Adapter) Cli

func (a *Adapter) Cli() *sentry.Client

Cli - comment method.

func (*Adapter) Close

func (a *Adapter) Close() error

Close - comment method.

type Options

type Options struct {
	Dsn              string
	Environment      string
	AppVersion       string
	TracesSampleRate float64
	FlushTimeout     time.Duration
	StackTraceBounds []string
	IsDebug          bool
}

Options - опции для создания Adapter.

Jump to

Keyboard shortcuts

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