ravenrecover

package module
v0.0.0-...-f96e623 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2015 License: MIT Imports: 5 Imported by: 0

README

raven-go-middleware

GoDoc Build Status

Easy Middleware for GetSentry (Raven) for GO Web framework Martini

import ravenrecover "github.com/hyperworks/raven-martini"

ravenDsn := "https://longnumber:lonnumber@app.getsentry.com/shortnumber"
M := martini.Classic()
logger := log.New(os.Stdout, "[martini] ", 0)

M.Use(ravenrecover.RecoverRaven(ravenDsn, logger))

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoverRaven

func RecoverRaven(dsn string, logger *log.Logger) martini.Handler

Send in your raven dsn should look something like this "https://longnumber:lonnumber@app.getsentry.com/shortnumber"

Types

This section is empty.

Jump to

Keyboard shortcuts

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