MCPcopy
hub / github.com/caddyserver/caddy / Reset

Method Reset

modules/caddyhttp/encode/encode.go:574–574  ·  view source on GitHub ↗
(io.Writer)

Source from the content-addressed store, hash-verified

572type Encoder interface {
573 io.WriteCloser
574 Reset(io.Writer)
575 Flush() error // encoder by default buffers data to maximize compressing rate
576}
577

Callers 15

handleConfigFunction · 0.65
rotateMethod · 0.65
rotateMethod · 0.65
ReadMethod · 0.65
HijackMethod · 0.65
parseCaddyfileHandlePathFunction · 0.65
ServeHTTPMethod · 0.65
CloseMethod · 0.65
initMethod · 0.65
TestNestedIncludeFunction · 0.65
ServeHTTPMethod · 0.65
funcIncludeMethod · 0.65

Implementers 1

mockEncodermodules/caddyhttp/encode/encode_test.g

Calls

no outgoing calls

Tested by 2

TestNestedIncludeFunction · 0.52
TestHandlerCopyResponseFunction · 0.52