mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-17 08:57:07 +08:00
vendor: initial vendor
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
13
vendor/github.com/docker/go-metrics/handler.go
generated
vendored
Normal file
13
vendor/github.com/docker/go-metrics/handler.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
// Handler returns the global http.Handler that provides the prometheus
|
||||
// metrics format on GET requests
|
||||
func Handler() http.Handler {
|
||||
return prometheus.Handler()
|
||||
}
|
Reference in New Issue
Block a user