CaddyModule returns the Caddy module information.
()
| 84 | |
| 85 | // CaddyModule returns the Caddy module information. |
| 86 | func (JSONEncoder) CaddyModule() caddy.ModuleInfo { |
| 87 | return caddy.ModuleInfo{ |
| 88 | ID: "caddy.logging.encoders.json", |
| 89 | New: func() caddy.Module { return new(JSONEncoder) }, |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | // Provision sets up the encoder. |
| 94 | func (je *JSONEncoder) Provision(_ caddy.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected