import "gopkg.in/airbrake/gobrake.v1"
airbrake = gobrake.NewNotifier(projectId, apiKey)
airbrake.SetContext("environment", "production")
if err := processRequest(req); err != nil {
go airbrake.Notify(err, req)
}
forked from airbrake/gobrake
Airbrake notifier for Golang
License
vinayvinay/gobrake
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Airbrake notifier for Golang
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Go 100.0%