MCPcopy
hub / github.com/grafana/dskit / WriteHeader

Method WriteHeader

middleware/logging_test.go:245–247  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

243}
244
245func (e errorWriter) WriteHeader(statusCode int) {
246 e.w.WriteHeader(statusCode)
247}
248
249func (e errorWriter) Write(b []byte) (int, error) {
250 if e.err != nil {

Callers 15

WriteResponseFunction · 0.45
handleMethod · 0.45
handlePostRequestMethod · 0.45
ServeHTTPMethod · 0.45
formatValueFunction · 0.45
downloadKeyFunction · 0.45
TestTimeoutMiddlewareFunction · 0.45
WrapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected