SetDescription configures the description for the rule.
(desc ValueString)
| 265 | |
| 266 | // SetDescription configures the description for the rule. |
| 267 | func (r *Rule) SetDescription(desc ValueString) { |
| 268 | r.description = &desc |
| 269 | } |
| 270 | |
| 271 | // AddMatch addes a Match to the rule. |
| 272 | func (r *Rule) AddMatch(m *Match) { |