CaddyModule returns the Caddy module information.
()
| 78 | |
| 79 | // CaddyModule returns the Caddy module information. |
| 80 | func (MatchExpression) CaddyModule() caddy.ModuleInfo { |
| 81 | return caddy.ModuleInfo{ |
| 82 | ID: "http.matchers.expression", |
| 83 | New: func() caddy.Module { return new(MatchExpression) }, |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | // MarshalJSON marshals m's expression. |
| 88 | func (m MatchExpression) MarshalJSON() ([]byte, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected