MCPcopy
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

580type Encoding interface {
581 AcceptEncoding() string
582 NewEncoder() Encoder
583}
584
585// Precompressed is a type which returns filename suffix of precompressed

Callers 7

handleErrorMethod · 0.65
unsyncedConfigAccessFunction · 0.65
storeSTEKMethod · 0.65
addEncodingMethod · 0.65
handleUpstreamsMethod · 0.65
serveBrowseMethod · 0.65
handleAdaptMethod · 0.65

Implementers 2

Zstdmodules/caddyhttp/encode/zstd/zstd.go
Gzipmodules/caddyhttp/encode/gzip/gzip.go

Calls

no outgoing calls

Tested by

no test coverage detected