martini

package
v0.0.0-...-a504e3d Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiddlewareTimer

type MiddlewareTimer interface {
	Measure(name string) martini.Handler
}

func NewMiddlewareTimer

func NewMiddlewareTimer(environment, serviceName, licenseKey string) (MiddlewareTimer, error)

NewMiddlewareTimer returns an instance of something that can Measure() an HTTP handler via middleware

func NewMiddlewareTimerFromNR

func NewMiddlewareTimerFromNR(app newrelic.Application) MiddlewareTimer

Jump to

Keyboard shortcuts

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