()
| 296 | ) |
| 297 | |
| 298 | func (a filterAction) IsValid() error { |
| 299 | switch a { |
| 300 | case replaceAction, deleteAction, hashAction: |
| 301 | return nil |
| 302 | } |
| 303 | |
| 304 | return errors.New("invalid action type") |
| 305 | } |
| 306 | |
| 307 | type queryFilterAction struct { |
| 308 | // `replace` to replace the value(s) associated with the parameter(s), `hash` to replace them with the 4 initial bytes of the SHA-256 of their content or `delete` to remove them entirely. |
no outgoing calls
no test coverage detected