Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Config *configuration.Config Logger *zap.Logger Closer *xcloser.Closer Registry *prometheus.Registry }
func (*App) RegisterMetrics ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func (*Metrics) IncRequests ¶
type StatusCodeResponseWriter ¶
type StatusCodeResponseWriter struct { http.ResponseWriter StatusCode int }
func NewStatusCodeResponseWriter ¶
func NewStatusCodeResponseWriter(w http.ResponseWriter) *StatusCodeResponseWriter
func (*StatusCodeResponseWriter) WriteHeader ¶
func (lrw *StatusCodeResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.