sentry

package
v0.0.0-...-b7f1bc2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(cfg *config.Config) errors.Service

NewService will create a new Sentry service

Types

type Sentry

type Sentry struct {
	Config *config.Config
}

Sentry error logging service

func (*Sentry) Report

func (s *Sentry) Report(err error)

Report will report a new error to Sentry

func (*Sentry) Setup

func (s *Sentry) Setup()

Setup will start the Sentry service

func (*Sentry) TearDown

func (s *Sentry) TearDown()

TearDown will do any final cleanup, flushing of buffers

Jump to

Keyboard shortcuts

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