errorreport

package
v0.0.0-...-2ce81c6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	Report(err error)
	Close() error
}

Reporter sends error reports to a log service.

func NewStackdriverReporter

func NewStackdriverReporter(ctx context.Context, projectID, serviceName string) (Reporter, error)

NewStackdriverReporter creates an error reporter that logs errors to stackdriver.

Jump to

Keyboard shortcuts

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