hb2

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

package hb2 is a Go package for sending errors to Honeybadger using the official client library

Index

Constants

This section is empty.

Variables

View Source
var IgnoredHeaders = map[string]struct{}{
	"Authorization": struct{}{},
}

Headers that won't be sent to honeybadger.

Functions

func NewReporter

func NewReporter(cfg Config) *hbReporter

NewReporter returns a new Reporter instance.

Types

type Config

type Config struct {
	ApiKey      string
	Environment string
	Endpoint    string
}

Jump to

Keyboard shortcuts

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