Documentation ¶ Index ¶ type Filter func New(conds []string) *Filter func (f *Filter) AddFunc(key string, fn interface{}) error func (f *Filter) Err() error func (f *Filter) Filter(ctx context.Context, in <-chan *parser.Parsed) <-chan *parser.Parsed func (f *Filter) Filtered() int64 func (f *Filter) Total() int64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Filter ¶ type Filter struct { // contains filtered or unexported fields } func New ¶ func New(conds []string) *Filter func (*Filter) AddFunc ¶ added in v0.2.0 func (f *Filter) AddFunc(key string, fn interface{}) error func (*Filter) Err ¶ func (f *Filter) Err() error func (*Filter) Filter ¶ func (f *Filter) Filter(ctx context.Context, in <-chan *parser.Parsed) <-chan *parser.Parsed func (*Filter) Filtered ¶ added in v0.3.0 func (f *Filter) Filtered() int64 func (*Filter) Total ¶ added in v0.3.0 func (f *Filter) Total() int64 Source Files ¶ View all Source files filter.go Click to show internal directories. Click to hide internal directories.