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

Struct mockEncoder

modules/caddyhttp/encode/encode_test.go:305–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305type mockEncoder struct{}
306
307func (mockEncoder) Write(p []byte) (n int, err error) { return len(p), nil }
308func (mockEncoder) Close() error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected