Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
305
type
mockEncoder
struct
{}
306
307
func
(mockEncoder) Write(p []byte) (n int, err error) {
return
len(p), nil }
308
func
(mockEncoder) Close() error {
return
nil }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected