nrhttp

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoundTripper

func NewRoundTripper(original http.RoundTripper) http.RoundTripper

NewRoundTripper creates an http.RoundTripper to measure external requests.

func WrapHandle

func WrapHandle(app newrelic.Application, pattern string, handler http.Handler) (string, http.Handler)

WrapHandle wraps http.Handler and set newrelic.Transaction into http.Request object.

func WrapHandleFunc

func WrapHandleFunc(app newrelic.Application, pattern string, handler func(http.ResponseWriter, *http.Request)) (string, func(http.ResponseWriter, *http.Request))

WrapHandleFunc wraps http.Handler and set newrelic.Transaction into http.Request object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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