http

command
v0.0.0-...-8e59ff0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 4 Imported by: 0

README

Example net/http application

This package contains an example net/http application, with Bugsnag configured.

Run the example

  1. Change the API key in main.go to a project you've created in Bugsnag.
  2. Inside bugsnag-go/examples/http do:
    go get
    go run main.go
    
  3. The application is now running. You can now visit
    http://localhost:9001/unhandled - to trigger an unhandled panic
    http://localhost:9001/handled   - to trigger a handled error
    
  4. You should now see events for these exceptions in your Bugsnag dashboard.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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