Back to godoc.org
github.com/letsencrypt/boulder / metrics / measured_http

package measured_http

v0.0.0 (50d4043)
Latest Go to latest
Published: 2 days ago | License: MPL-2.0 | Module: github.com/letsencrypt/boulder

Index

Package Files

type MeasuredHandler

type MeasuredHandler struct {
	// contains filtered or unexported fields
}

MeasuredHandler wraps an http.Handler and records prometheus stats

func New

func New(m serveMux, clk clock.Clock, stats prometheus.Registerer) *MeasuredHandler

func (*MeasuredHandler) ServeHTTP

func (h *MeasuredHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier