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.
Click to show internal directories.
Click to hide internal directories.