package
1.20.1
Repository: https://github.com/keratin/authn-server.git
Documentation: pkg.go.dev

# Functions

NewAirbrakeReporter builds an AirbrakeReporter from a credentials string.
NewErrorReporter will instantiate an ErrorReporter for a known type.
NewSentryReporter builds a SentryReporter from a credentials string.
PanicHandler returns a http.Handler that will recover any panics and report them as request errors.

# Constants

all known types of ErrorReporter.
all known types of ErrorReporter.
all known types of ErrorReporter.

# Structs

AirbrakeReporter is an ErrorReporter for the Airbrake service (airbrake.io).
LogReporter is an ErrorReporter that prints to the log (likely STDOUT).
SentryReporter is an ErrorReporter for the Sentry service (sentry.io).

# Interfaces

ErrorReporter is a thing that exports details about errors and panics to another service.

# Type aliases

ErrorReporterType exists to provide context for plain strings in configuration.