Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONWithHeaders ¶
Types ¶
type MetricsResponseWriter ¶
type MetricsResponseWriter struct { StatusCode int BytesCount int // contains filtered or unexported fields }
func NewMetricsResponseWriter ¶
func NewMetricsResponseWriter(w http.ResponseWriter) *MetricsResponseWriter
func (*MetricsResponseWriter) Header ¶
func (mw *MetricsResponseWriter) Header() http.Header
func (*MetricsResponseWriter) Unwrap ¶
func (mw *MetricsResponseWriter) Unwrap() http.ResponseWriter
func (*MetricsResponseWriter) WriteHeader ¶
func (mw *MetricsResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.