nrgorilla

package
v3.21.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package nrgorilla instruments https://github.com/gorilla/mux applications.

Use this package to instrument inbound requests handled by a gorilla mux.Router. Call nrgorilla.InstrumentRoutes on your gorilla mux.Router after your routes have been added to it.

Example: https://github.com/newrelic/go-agent/tree/master/_integrations/nrgorilla/v1/example/main.go

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 instruments requests through the provided mux.Router. Use this after the routes have been added to the router.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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