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.
Click to show internal directories.
Click to hide internal directories.