Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 387 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 387 Bytes

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