notify

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Honeybadger

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

Honeybadger wraps honeybadger.Client

func NewHoneybadger

func NewHoneybadger(client *honeybadger.Client, enabled bool) *Honeybadger

func (*Honeybadger) Notify

func (h *Honeybadger) Notify(err interface{}, stack []byte)

Notify reports the err to the Honeybadger service.

type Notifier

type Notifier interface {
	Notify(err interface{}, stack []byte)
}

Jump to

Keyboard shortcuts

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