brake

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package brake contains tools for setting up and working with the [airbrake](https://airbrake.io/) error monitoring software.

Index

Constants

View Source
const (
	SeverityError    severity = "error"
	SeverityWarn     severity = "warning"
	SeverityCritical severity = "critical"
)

Variables

View Source
var (
	Airbrake *gobrake.Notifier
	Env      string
)

Functions

func IsSetup

func IsSetup() bool

func Notify

func Notify(e error, req *http.Request, sev severity)

func NotifyFromChan

func NotifyFromChan(errs chan error, wg *sync.WaitGroup)

Types

This section is empty.

Jump to

Keyboard shortcuts

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