All Projects → martini-contrib → Gorelic

martini-contrib / Gorelic

Licence: bsd-3-clause
NewRelic middleware for martini framework.

Programming Languages

go
31211 projects - #10 most used programming language

GoRelic

NewRelic middleware for martini framework.

Usage

import(
	"github.com/go-martini/martini"
	"github.com/martini-contrib/gorelic"
)

func main(){
	m := martini.Classic()

	gorelic.InitNewrelicAgent("YOUR_NEWRELIC_LICENSE_KEY", "YOUR_APPLICATION_NAME", true)
	m.Use(gorelic.Handler)

	m.Run()
}

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].