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
-
Notifications
You must be signed in to change notification settings - Fork 0
Airbrake notifier for Golang
License
vinayvinay/gobrake
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%