Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { Metrics *gmetrics.Metrics Middleware *mmw.Middleware MapSink *mapsink.MapSink StatsdSink *gmetrics.StatsdSink }
Context contains information necessary to add time and count metrics to routes, show collected metrics, or emit custom metrics from within a route
func GetContext ¶
func GetContext() *Context
GetContext retrieves the context, loading if it has not yet
Click to show internal directories.
Click to hide internal directories.