nrgorilla

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package nrgorilla provides New Relic instruments for gorilla/mux tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentRoutes

func InstrumentRoutes(r *mux.Router, app newrelic.Application) *mux.Router

InstrumentRoutes adds instrumentation to a router. This must be used after the routes have been added to the router.

func RouteName

func RouteName(route *mux.Route) string

RouteName returns the name that would be used as transaction name in New Relic

Types

This section is empty.

Jump to

Keyboard shortcuts

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