Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentRouteFunc ¶
func InstrumentRouteFunc(handlerName string, routeFunc restful.RouteFunction) restful.RouteFunction
InstrumentRouteFunc works like Prometheus' InstrumentHandlerFunc but wraps the go-restful RouteFunction instead of a HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.