CaddyModule returns the Caddy module information.
()
| 123 | |
| 124 | // CaddyModule returns the Caddy module information. |
| 125 | func (StaticResponse) CaddyModule() caddy.ModuleInfo { |
| 126 | return caddy.ModuleInfo{ |
| 127 | ID: "http.handlers.static_response", |
| 128 | New: func() caddy.Module { return new(StaticResponse) }, |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: |
| 133 | // |
nothing calls this directly
no outgoing calls
no test coverage detected