Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware() mux.MiddlewareFunc
Middleware holds a Gorilla Mux middleware to update the OpenCensus span name and the http route tag. It uses the configured route name (if any), otherwise falls back to the request method and the path template. This is typically used in a HTTP server using Gorilla Mux for routing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.