package
module
Version:
v0.0.0-...-cebfa58
Opens a new window with list of versions in this module.
Published: Oct 18, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IsNonZero(val interface{}) (bool, interface{})
Associates the filter name to the filter
Activity ...
Activity is an activity that is used to filter a message to the console
Eval implements api.Activity.Eval - Filters the Message
Metadata returns activity's metadata
type Filter interface {
FilterOut(val interface{}) (bool, interface{})
}
type Input struct {
Value interface{} `md:"value"`
}
type NonZeroFilter struct{}
type Output struct {
Filtered bool `md:"filtered"`
Value interface{} `md:"value"`
}
type Settings struct {
Type string `md:"type,allowed(non-zero)"`
ProceedOnlyOnEmit bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.