CaddyModule returns the Caddy module information.
()
| 43 | |
| 44 | // CaddyModule returns the Caddy module information. |
| 45 | func (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. |
| 53 | func (z *Zstd) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { |
nothing calls this directly
no outgoing calls
no test coverage detected