MCPcopy Index your code
hub / github.com/cortexproject/cortex / Write

Method Write

pkg/api/queryapi/compression.go:31–33  ·  view source on GitHub ↗

Writes HTTP response content data.

(p []byte)

Source from the content-addressed store, hash-verified

29
30// Writes HTTP response content data.
31func (c *compressedResponseWriter) Write(p []byte) (int, error) {
32 return c.writer.Write(p)
33}
34
35// Closes the compressedResponseWriter and ensures to flush all data before.
36func (c *compressedResponseWriter) Close() {

Calls

no outgoing calls