Skip to content

vinayvinay/gobrake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbrake Golang Notifier Build Status

Example

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)
}

Packages

No packages published

Languages

  • Go 100.0%