NewMatch creates a match instance.
(exprID int64)
| 338 | |
| 339 | // NewMatch creates a match instance. |
| 340 | func NewMatch(exprID int64) *Match { |
| 341 | return &Match{exprID: exprID} |
| 342 | } |
| 343 | |
| 344 | // Match declares a condition (defaults to true) as well as an output or a rule. |
| 345 | // Either the output or the rule field may be set, but not both. |