reporter

package
v0.0.0-...-2c1fae0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conf *Config)

Init should be called when the app starts, from a config object.

func Shutdown

func Shutdown()

Types

type Config

type Config struct {
	DSN         string `json:"dsn"`
	Debug       bool   `json:"debug"`
	Disabled    bool   `json:"disabled"`
	Environment string `json:"-"`
	Release     string `json:"-"`
	// contains filtered or unexported fields
}

type Event

type Event = sentry.Event

type EventID

type EventID = sentry.EventID

func CaptureEvent

func CaptureEvent(e *Event) *EventID

func CaptureException

func CaptureException(err error) *EventID

func CaptureMessage

func CaptureMessage(msg string) *EventID

Jump to

Keyboard shortcuts

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