gocraft_gorelic

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

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

Go to latest
Published: May 19, 2014 License: BSD-3-Clause Imports: 5 Imported by: 0

README

gocraft_gorelic

gocraft_gorelic is NewRelic middleware for gocraft framework.

Installation

  • Run "go get github.com/yvasiyarov/gocraft_gorelic"
  • Add following lines to your main() function: gocraft_gorelic.InitNewrelicAgent("7bceac019c7dcafae1ef95be3e3a3ff8866de266", "test gocraft app", true) router.Middleware(gocraft_gorelic.Handler)

Please, dont forget to change NewRelic license to your license

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(rw web.ResponseWriter, r *web.Request, next web.NextMiddlewareFunc)

func InitNewrelicAgent

func InitNewrelicAgent(license string, appname string, verbose bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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