MCPcopy
hub / github.com/go-chi/chi / writer

Method writer

middleware/compress.go:326–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324}
325
326func (cw *compressResponseWriter) writer() io.Writer {
327 if cw.compressible {
328 return cw.w
329 }
330 return cw.ResponseWriter
331}
332
333type compressFlusher interface {
334 Flush() error

Callers 5

WriteMethod · 0.95
FlushMethod · 0.95
HijackMethod · 0.95
PushMethod · 0.95
CloseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected