Documentation ¶
Overview ¶
Package api supply a bunch of common http handler that could be mounted on you rest server and expose ability for example: prometheus metrics will be exported on /metrics api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrometheusHandleFunc ¶
func PrometheusHandleFunc(req *restful.Request, rep *restful.Response)
PrometheusHandleFunc is a go-restful handler which can expose metrics in http server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.