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

Method CaddyModule

modules/caddyhttp/encode/zstd/zstd.go:45–50  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

43
44// CaddyModule returns the Caddy module information.
45func (Zstd) CaddyModule() caddy.ModuleInfo {
46 return caddy.ModuleInfo{
47 ID: "http.encoders.zstd",
48 New: func() caddy.Module { return new(Zstd) },
49 }
50}
51
52// UnmarshalCaddyfile sets up the handler from Caddyfile tokens.
53func (z *Zstd) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected