MCPcopy Create free account
hub / github.com/caddyserver/caddy / Reset

Method Reset

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

Source from the content-addressed store, hash-verified

307func (mockEncoder) Write(p []byte) (n int, err error) { return len(p), nil }
308func (mockEncoder) Close() error { return nil }
309func (mockEncoder) Reset(w io.Writer) {}
310func (mockEncoder) Flush() error { return nil }
311
312func TestServeHTTPDefaultEncodingPreference(t *testing.T) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected