rollbar

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

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

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

Documentation

Index

Constants

View Source
const (
	EnvAccessToken = "ROLLBAR_ACCESS_TOKEN"
	EnvEnvironment = "ROLLBAR_ENVIRONMENT"
	EnvEndpoint    = "ROLLBAR_ENDPOINT"
)
View Source
const ErrorLevel = "error"

Variables

View Source
var Reporter = &rollbarReporter{}

Functions

func ConfigureFromEnvironment

func ConfigureFromEnvironment()

func ConfigureReporter

func ConfigureReporter(token, environment string)

Types

type Frame

type Frame struct {
	Filename string `json:"filename"`
	Method   string `json:"method"`
	Line     int    `json:"lineno"`
}

TODO (sophied): A type temporarily stolen from github.com/stvp/rollbar to allow us to migrate all the places that use this reporting package away from a custom stack trace type before we switch over to go's default error type across the board.

Jump to

Keyboard shortcuts

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