Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caddyserver/caddy
/ NewEncoder
Method
NewEncoder
modules/caddyhttp/encode/encode.go:582–582 · modules/caddyhttp/encode/encode.go::Encoding.NewEncoder
()
Source
from the content-addressed store, hash-verified
580
type
Encoding
interface
{
581
AcceptEncoding() string
582
NewEncoder() Encoder
583
}
584
585
// Precompressed is a
type
which returns filename suffix of precompressed
Callers
7
handleError
Method · 0.65
unsyncedConfigAccess
Function · 0.65
storeSTEK
Method · 0.65
addEncoding
Method · 0.65
handleUpstreams
Method · 0.65
serveBrowse
Method · 0.65
handleAdapt
Method · 0.65
Implementers
2
Zstd
modules/caddyhttp/encode/zstd/zstd.go
Gzip
modules/caddyhttp/encode/gzip/gzip.go
Calls
no outgoing calls
Tested by
no test coverage detected