Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggingResponseWriter ¶
func NewLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWriter
Types ¶
type PrometheusMetric ¶
type PrometheusMetric struct {
// contains filtered or unexported fields
}
func NewPrometheusMetric ¶
func NewPrometheusMetric() PrometheusMetric
func (*PrometheusMetric) CaptureMetrics ¶
func (p *PrometheusMetric) CaptureMetrics(next http.Handler) http.Handler
func (*PrometheusMetric) MetricsHandler ¶
func (p *PrometheusMetric) MetricsHandler() http.Handler
Click to show internal directories.
Click to hide internal directories.