CaddyModule returns the Caddy module information.
()
| 45 | |
| 46 | // CaddyModule returns the Caddy module information. |
| 47 | func (StaticError) CaddyModule() caddy.ModuleInfo { |
| 48 | return caddy.ModuleInfo{ |
| 49 | ID: "http.handlers.error", |
| 50 | New: func() caddy.Module { return new(StaticError) }, |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | // UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: |
| 55 | // |
nothing calls this directly
no outgoing calls
no test coverage detected