Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
245
func
(e errorWriter) WriteHeader(statusCode int) {
246
e.w.WriteHeader(statusCode)
247
}
248
249
func
(e errorWriter) Write(b []byte) (int, error) {
250
if
e.err != nil {
Callers
15
WriteResponse
Function · 0.45
TestGrpcErrorsHaveCorrectMessage
Function · 0.45
TestIsHandledByHttpgrpcServer
Function · 0.45
handle
Method · 0.45
handlePostRequest
Method · 0.45
ServeHTTP
Method · 0.45
formatValue
Function · 0.45
downloadKey
Function · 0.45
TestTimeoutMiddleware
Function · 0.45
Wrap
Method · 0.45
TestClusterValidationRoundTripper
Function · 0.45
TestClusterValidationMiddleware
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected